コード例 #1
0
ファイル: InputSheet.cs プロジェクト: RIT-LECDM/TEAMS-Module
 // 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();
 }
コード例 #2
0
ファイル: InputSheet.cs プロジェクト: RIT-LECDM/TEAMS-Module
 // 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();
     }
 }
コード例 #3
0
 /// <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();
 }