Example #1
0
 void OnFileSaveAs(object sender, EventArgs e)
 {
     if (SaveProjDialog.ShowDialog(this) == DialogResult.OK)
     {
         ProjectInterface.Save(SaveProjDialog.FileName, Project);
         this.Text = string.Format("Che Ape [{0}]", Project.FileName);
     }
 }
Example #2
0
 void OnFileNew(object sender, EventArgs e)
 {
     if (FileClosed() && SaveProjDialog.ShowDialog(this) == DialogResult.OK)
     {
         Project   = ProjectInterface.Create(SaveProjDialog.FileName);
         this.Text = string.Format("Che Ape [{0}]", Project.FileName);
         SetState(true);
     }
 }