OSDN Git Service

AppliStation-GUI,進捗ダイアログのログテキスト表示領域がインストーラーファイルをダウンロードしているときに表示領域がカクカクする不具合を修正(その2... v1.3.6
authorttp <ttp@users.sourceforge.jp>
Sat, 20 Nov 2010 05:03:53 +0000 (14:03 +0900)
committerttp <ttp@users.sourceforge.jp>
Sat, 20 Nov 2010 05:03:53 +0000 (14:03 +0900)
AppliStation/AppliStation.Util/ExecutionProgressViewer.Designer.cs
AppliStation/AppliStation.Util/ExecutionProgressViewer.cs

index 4946a84..0296c7b 100644 (file)
@@ -168,6 +168,7 @@ namespace AppliStation.Util
                        this.logBox.DetectUrls = false;\r
                        this.logBox.Dock = System.Windows.Forms.DockStyle.Fill;\r
                        this.logBox.ForeColor = System.Drawing.SystemColors.ControlText;\r
+                       this.logBox.Layout += new System.Windows.Forms.LayoutEventHandler(this.LogBoxTextLayouted);\r
                        this.logBox.Location = new System.Drawing.Point(3, 121);\r
                        this.logBox.Name = "logBox";\r
                        this.logBox.ReadOnly = true;\r
index 4a746af..a9f5f78 100644 (file)
@@ -245,6 +245,11 @@ namespace AppliStation.Util
                        logBox.ScrollToCaret();\r
                }\r
                \r
+               void LogBoxTextLayouted(object sender, LayoutEventArgs e)\r
+               {\r
+                       logBox.ScrollToCaret();\r
+               }\r
+               \r
                void OkButtonClick(object sender, EventArgs e)\r
                {\r
                        if (taskSet == null || taskSet.Done) {\r