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

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