public void SaveConfiguration() { Helper.SetDirectory(); Locale.Save(); SaveAction?.Invoke(); GuiEnvironment.Save(); XmlSerialize("MainWindow.xml"); }
public virtual void LoadConfiguration() { Helper.SetDirectory(); try { Locale.Load(); LoadAction?.Invoke(); GuiEnvironment.Load(); } catch (Exception ex) { Helper.OnException(ex); DialogResult = Command.Stop; } finally { Helper.SetDirectory(); OnInitialized(); } }