private void newMnuItem_Click(object sender, EventArgs e)
 {
     FunctionlUtility.SaveProject(RiverSimulationProfile.profile);
     if (!FunctionlUtility.NewProjectFile(this, Program.GetProjectFullPath()))
     {
         return;
     }
     UpdateStatus();
 }
Exemple #2
0
 private void newFileBtn_Click(object sender, EventArgs e)
 {
     if (!FunctionlUtility.NewProjectFile(this, Program.GetProjectFullPath()))
     {
         return;
     }
     //RiverSimulationProfile.profile = new RiverSimulationProfile();
     //Program.projectFolder = Program.documentPath + "\\" + dlg.inputTxt.Text;
     this.DialogResult = DialogResult.OK;
     this.Close();
 }