public void OpenSettingsWindow() { if (_SettingsWindow == null) { _SettingsWindow = new Settings(); _SettingsWindow.FormClosed += _SettingsWindow_FormClosed; _SettingsWindow.Show(); } if (FirstRun) { FirstRun = false; _SettingsWindow.InitFirstRun(); } _SettingsWindow.Activate(); _SettingsWindow.BringToFront(); }
private void OpenSettingsWindow() { if (_SettingsWindow == null) { _SettingsWindow = new Settings(); _SettingsWindow.FormClosed += _SettingsWindow_FormClosed; _SettingsWindow.Show(this); } _SettingsWindow.Activate(); _SettingsWindow.BringToFront(); }