return;\r
}\r
}\r
- if (!SystemShutdown)\r
+ if (SystemShutdown)\r
+ _listFormGroup.WaitForCloseAll();\r
+ else\r
_listFormGroup.Close(); // 各自で終了処理するのでシャットダウン時は不要\r
- _listFormGroup.WaitForCloseAll();\r
Config.Location = (Form.WindowState == FormWindowState.Normal ? Form.Bounds : Form.RestoreBounds).Location;\r
Config.ShowHpInPercent = _c.fleetPanel.ShowHpInPercent;\r
}\r
\r
public void MouseDown(IntPtr handle, ref bool handled)\r
{\r
- if (!_panel.ScrollBar.Visible)\r
+ if (!_panel.ScrollBar.Visible || _panel.IsDisposed)\r
return;\r
if (!_mouseStart.IsEmpty)\r
return;\r