Ejemplo n.º 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);
             }
         }
     }
 }
Ejemplo n.º 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);
             }
         }
     }
 }