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);
        }
예제 #2
0
 private void SourceSetupPluginForm_Load(object sender, EventArgs e)
 {
     _settings           = SourceSetupSettings.LoadSettings();
     tbEnginePath.Text   = _settings.SelectedEngineDirectory;
     cbUseSource.Checked = _settings.UseSource;
 }
예제 #3
0
 private void SourceSetupPluginForm_Load(object sender, EventArgs e)
 {
     _settings = SourceSetupSettings.LoadSettings();
     tbEnginePath.Text = _settings.SelectedEngineDirectory;
     cbUseSource.Checked = _settings.UseSource;
 }