private void Clear_SearchBtn_Click(object sender, EventArgs e) { Surname_txtbox.Clear(); Name_textBox.Clear(); Profession_comboBox.Text = ""; Course_comboBox.Text = ""; AfterAverage_txtbox.Clear(); BeforeAverage_txtbox.Clear(); }
private void ClearStudent_btn_Click(object sender, EventArgs e) { Surname_txtbox.Clear(); Name_textBox.Clear(); Profession_comboBox.Text = ""; Course_comboBox.Text = ""; Averange_maskedTextBox.Clear(); Age_numericUpDown.Value = Age_numericUpDown.Minimum; Male.Checked = female.Checked = false; }