예제 #1
0
 /// <summary>
 /// Displays the New Project Dialog.
 /// </summary>
 public void NewProjectClick()
 {
     using (NewProjectForm f = new NewProjectForm())
     {
         if (f.ShowDialog() == DialogResult.OK)
         {
             if (CloseProjectClick())
             {
                 var p = ProjectFactory.Default.CreateProject(f.Platform, f.Path);
                 OpenProject(p);
             }
         }
     }
 }
예제 #2
0
 /// <summary>
 /// Displays the New Project Dialog.
 /// </summary>
 public void NewProjectClick()
 {
     using (NewProjectForm f = new NewProjectForm())
     {
         if (f.ShowDialog() == DialogResult.OK)
         {
             if (CloseProjectClick())
             {
                 var p = ProjectFactory.Default.CreateProject(f.Platform, f.Path);
                 OpenProject(p);
             }
         }
     }
 }