public void OnClick(Window mainWindow, Instance instance) { WindowHelper.ShowDialog <SettingsDialog>(null, mainWindow); if (!LifeManager.IsRestarting) { MainWindowHelper.Initialize(); } }
public void OnClick(Window mainWindow, Instance instance) { var result = WindowHelper.ShowDialog <SettingsDialog>(null, mainWindow); if (result != null) { MainWindowHelper.Initialize(); } }