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); } }
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); } }