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

            if (result != null)
            {
                MainWindowHelper.Initialize();
            }
        }