Beispiel #1
0
        private void create_Click(object sender, EventArgs e)
        {
            MCProj m = new MCProj();

            m.name = projPath.Text;
            m.path = projPath.Text;
            m.Save();
            projectCreated = m;
        }
Beispiel #2
0
 private bool SaveProjPrompt()
 {
     if (currentProj == null)
     {
         CreateProj j = new CreateProj();
         j.ShowDialog();
         if (j.projectCreated == null)
         {
             return(false);
         }
         else
         {
             currentProj = j.projectCreated; return(true);
         }
     }
     else
     {
         currentProj.Save(); return(true);
     }
 }