OSDN Git Service

AppliStation-GUI,Vistaにて処理プロセス中のダイアログについてタスクバー上のアイコンが.NET標準のアイコンになる(こともある)の修正
authorttp <ttp@users.sourceforge.jp>
Sun, 20 Jul 2008 10:17:34 +0000 (10:17 +0000)
committerttp <ttp@users.sourceforge.jp>
Sun, 20 Jul 2008 10:17:34 +0000 (10:17 +0000)
git-svn-id: http://localhost/svn/AppliStation/trunk@937 34ed2c89-c49f-4a4b-abdb-c318350108cf

AppliStation/AppliStation.Util/ExecutionProgressViewer.cs

index de87382..9f704ba 100644 (file)
@@ -36,6 +36,8 @@ namespace AppliStation.Util
                        // The InitializeComponent() call is required for Windows Forms designer support.\r
                        //\r
                        InitializeComponent();\r
+                       \r
+                       this.Icon = Icon.ExtractAssociatedIcon(Application.ExecutablePath);\r
                }\r
                                \r
                private void onDownloadEvent(object sender, DownloadEventArgs a)\r