コード例 #1
0
 /// <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);
     }
 }
コード例 #2
0
 public void setSavePath(string path)
 {
     handler.IniWriteValue("basic", "savepath", path);
 }