private void RefreshForm()
 {
     pass_label1.Refresh();
     fname_textBox1.Refresh();
     Mname_textBox2.Refresh();
     lname_textBox3.Refresh();
     age_textBox1.Refresh();
 }
Beispiel #2
0
 /// <summary>
 /// This function clears all the boxes and labels to be able to add a new passenger information
 /// </summary>
 private void clearBoxes()
 {
     fname_textBox1.Clear();
     Mname_textBox2.Clear();
     lname_textBox3.Clear();
     age_textBox1.Clear();
     gender_comboBox2.SelectedIndex = -1;
     birthDateCalender.Value        = System.DateTime.Now;
 }