Ejemplo n.º 1
0
 // This will make a new input sheet, so you can perform multiple simulations at one time
 private void file_new_menu_Click(object sender, EventArgs e)
 {
     Form f = new TEAMS();
     f.Show();
 }
Ejemplo n.º 2
0
 // Resets the input sheet back to default inputs
 private void ResetButton_Click(object sender, EventArgs e)
 {
     DialogResult result = MessageBox.Show("Are you sure you wish to reset the form back to default values?", "Reset Input", MessageBoxButtons.YesNo);
     if (result == DialogResult.Yes)
     {
         this.Close();
         TEAMS newWindow = new TEAMS();
         newWindow.Show();
     }
 }
 /// <summary>
 /// The user selects "I Understand" to the copyright notice.
 /// CopyrightForm closes and the main TEAM Module Input form is loaded.
 /// </summary>
 private void I_Understand_Button_Click(object sender, EventArgs e)
 {
     TEAMS t = new TEAMS();
     t.Show();
     this.Close();
 }