Example #1
0
 private void SaveAsExecute()
 {
     if (CheckHasSolution())
     {
         var dlg = new SaveFileDialog();
         dlg.Filter = "Visual Studio Solution (sln)|*.sln";
         if (dlg.ShowDialog() == true)
         {
             try
             {
                 CurrentSolution.SaveAs(dlg.FileName);
             }
             catch (Exception ex)
             {
                 MessageBox.Show(ex.ToString());
             }
         }
     }
 }