/// <summary> /// Saves the workspacePath to the ini-File /// </summary> /// <param name="dir"></param> /// Path to the Workspace public void SetWorkspace(string dir) { try { _iniHandler.IniWriteValue("GENERAL", "workspacePath", dir); } catch (Exception ex) { MessageBox.Show("Oops, something went wrong! Error: " + ex, "Error", MessageBoxButton.OK, MessageBoxImage.Error); } }
public void setSavePath(string path) { handler.IniWriteValue("basic", "savepath", path); }