AppliStation
Révision | fd58341c533f78d2ab373ad0a0e6bf5306923543 (tree) |
---|---|
l'heure | 2010-11-20 14:03:53 |
Auteur | ttp <ttp@user...> |
Commiter | ttp |
AppliStation-GUI,進捗ダイアログのログテキスト表示領域がインストーラーファイルをダウンロードしているときに表示領域がカクカクする不具合を修正(その2)」の修正もれ(サブプログレスバーの考慮もれ)の修正
@@ -168,6 +168,7 @@ namespace AppliStation.Util | ||
168 | 168 | this.logBox.DetectUrls = false; |
169 | 169 | this.logBox.Dock = System.Windows.Forms.DockStyle.Fill; |
170 | 170 | this.logBox.ForeColor = System.Drawing.SystemColors.ControlText; |
171 | + this.logBox.Layout += new System.Windows.Forms.LayoutEventHandler(this.LogBoxTextLayouted); | |
171 | 172 | this.logBox.Location = new System.Drawing.Point(3, 121); |
172 | 173 | this.logBox.Name = "logBox"; |
173 | 174 | this.logBox.ReadOnly = true; |
@@ -245,6 +245,11 @@ namespace AppliStation.Util | ||
245 | 245 | logBox.ScrollToCaret(); |
246 | 246 | } |
247 | 247 | |
248 | + void LogBoxTextLayouted(object sender, LayoutEventArgs e) | |
249 | + { | |
250 | + logBox.ScrollToCaret(); | |
251 | + } | |
252 | + | |
248 | 253 | void OkButtonClick(object sender, EventArgs e) |
249 | 254 | { |
250 | 255 | if (taskSet == null || taskSet.Done) { |