private void HideConfiguration() { if (Settings.MinimizeToTray) { if (_configurationWindow.IsVisible) { _configurationWindow.Hide(); } } else { _configurationWindow.WindowState = WindowState.Minimized; } }
private void HideConfiguration() { if (AppSettings.EnableDiscordRPC == true) { if (client.IsDisposed == false) { client.Dispose(); } } if (AppSettings.MinimizeToTray) { if (_configurationWindow.IsVisible) { _configurationWindow.Hide(); } } else { _configurationWindow.WindowState = WindowState.Minimized; } }
void OnDisabl2e() { Log.Info("OnDisabl2e"); m_window.Hide(); }