Exemple #1
0
        private void tbNew_Click(object sender, EventArgs e)
        {
            if (SaveProject() == DialogResult.Cancel)
            {
                return;
            }
            ProjectForm pf = new ProjectForm();

            if (pf.ShowDialog(this) == DialogResult.OK)
            {
                LoadProject();
            }
        }
Exemple #2
0
 private void tbNew_Click(object sender, EventArgs e)
 {
     if(SaveProject() == DialogResult.Cancel)
     {
         return;
     }
     ProjectForm pf = new ProjectForm();
     if(pf.ShowDialog(this) == DialogResult.OK)
     {
         LoadProject();
     }
 }