OSDN Git Service

初回起動時タスクバーに設定ダイアログのアイコンを表示するよう変更
authorANIKITI <anikiti07@gmail.com>
Mon, 3 Sep 2012 17:16:17 +0000 (02:16 +0900)
committerANIKITI <anikiti07@gmail.com>
Mon, 3 Sep 2012 17:16:17 +0000 (02:16 +0900)
OpenTween/Tween.cs

index f4c2e4d..5adb7f6 100644 (file)
@@ -889,6 +889,7 @@ namespace OpenTween
             {
                 saveRequired = true;
                 firstRun = true;
+                SettingDialog.ShowInTaskbar = true;
 
                 //設定せずにキャンセルされた場合はプログラム終了
                 if (SettingDialog.ShowDialog(this) == DialogResult.Cancel)
@@ -902,6 +903,7 @@ namespace OpenTween
                     Application.Exit();  //強制終了
                     return;
                 }
+                SettingDialog.ShowInTaskbar = false;
                 //新しい設定を反映
                 //フォント&文字色&背景色保持
                 _fntUnread = SettingDialog.FontUnread;