private CdbProcess StartCdb(int pid) { CdbSettings settings = new CdbSettings(); settings.CdbPath = @"C:\Program Files\Debugging Tools for Windows (x64)\"; return CdbProcess.Attach(settings, pid, null); }
private void toolStripButtonSaveSettings_Click(object sender, EventArgs e) { var settings = new CdbSettings(); settings.CdbPath = this.textBoxCBDPath.Text; settings.SosexPath = this.textBoxSosexPath.Text; this.controller.SaveSettings(settings); }
public void SaveSettings(CdbSettings settings) { this.settings = settings; Settings.Default.CdbPath = settings.CdbPath; Settings.Default.SosexPath = settings.SosexPath; Settings.Default.Save(); this.LoadSettings(); }
public CdbSettings LoadSettings() { Settings.Default.Reload(); this.settings = new CdbSettings(); this.settings.CdbPath = Settings.Default.CdbPath; this.settings.SosexPath = Settings.Default.SosexPath; return this.settings; }