private void StudentID_Click(object sender, EventArgs e) { if (StudentID.Text.Equals("Student ID")) { StudentID.Clear(); } }
public void ResetAddStudentControl() { StudentID.Clear(); LastName.Clear(); FirstName.Clear(); Number.Clear(); PhoneType.SelectedIndex = -1; StudentType.SelectedIndex = -1; Country.Clear(); City.Clear(); ZipCode.Clear(); StreetAdress.Clear(); Gender.Clear(); }
private void StudentID_Click(object sender, EventArgs e) { StudentID.Clear(); }