예제 #1
0
        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);
        }
예제 #2
0
 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);
 }
예제 #3
0
 public void SaveSettings(CdbSettings settings)
 {
     this.settings = settings;
     Settings.Default.CdbPath = settings.CdbPath;
     Settings.Default.SosexPath = settings.SosexPath;
     Settings.Default.Save();
     this.LoadSettings();
 }
예제 #4
0
        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;
        }