public bool OpenSolution(string solution) { var settings = SourceSetupSettings.LoadSettings(); if (settings.UseSource) { var debugSolution = solution.Substring(0, solution.Length - 4) + "_Debug.sln"; if (File.Exists(debugSolution)) { Process.Start(debugSolution); return(true); } } return(false); }
private void SourceSetupPluginForm_Load(object sender, EventArgs e) { _settings = SourceSetupSettings.LoadSettings(); tbEnginePath.Text = _settings.SelectedEngineDirectory; cbUseSource.Checked = _settings.UseSource; }