OSDN Git Service

最小化して起動したときにタスクバーに表示しない設定が効くようにする
authorKazuhiro Fujieda <fujieda@users.sourceforge.jp>
Thu, 5 Feb 2015 09:46:17 +0000 (18:46 +0900)
committerKazuhiro Fujieda <fujieda@users.sourceforge.jp>
Thu, 5 Feb 2015 11:09:23 +0000 (20:09 +0900)
KancolleSniffer/MainForm.cs

index fc7043c..f1af1c7 100644 (file)
@@ -132,6 +132,8 @@ namespace KancolleSniffer
         {\r
             _config.Load();\r
             RestoreLocation();\r
+            if (_config.HideOnMinimized && WindowState == FormWindowState.Minimized)\r
+                ShowInTaskbar = false;\r
             ApplyConfig();\r
             ApplyDebugLogSetting();\r
             ApplyLogSetting();\r