private void mnuFileNew_Click(object sender, EventArgs e)
        {
            frmNewProject f = new frmNewProject();

            if (f.ShowDialog() == DialogResult.OK)
            {
                if (string.IsNullOrEmpty(f.Template))
                {
                    New();
                }
                else
                {
                    NewFromTemplate(f.Template);
                }
            }
        }
Example #2
0
 private void mnuFileNew_Click(object sender, EventArgs e)
 {
     frmNewProject f = new frmNewProject();
     if (f.ShowDialog() == DialogResult.OK)
     {
         if (string.IsNullOrEmpty(f.Template))
             New();
         else
             NewFromTemplate(f.Template);
     }
 }