private void CheckMark(object sender, EventArgs e) { if (FileChecker.CheckMark(Mark.Text)) { return; } MessageBox.Show("WrongInput"); Mark.Text = ""; }
private void CheckLastName(object sender, EventArgs e) { if (FileChecker.CheckLastName(LastName.Text)) { return; } MessageBox.Show("WrongInput"); LastName.Text = ""; }
private void CheckDocument(object sender, EventArgs e) { if (FileChecker.CheckDocument(Document.Text)) { return; } MessageBox.Show("WrongInput"); Document.Text = ""; }
private void CheckCourse(object sender, EventArgs e) { if (FileChecker.CheckCourse(Course.Text)) { return; } MessageBox.Show("WrongInput"); Course.Text = ""; }
private void CheckCommision(object sender, EventArgs e) { if (FileChecker.CheckCommision(Commision.Text)) { return; } MessageBox.Show("Неверные данные!!!"); Commision.Text = ""; }
private void CheckSalary(object sender, EventArgs e) { if (FileChecker.CheckSalary(Salary.Text)) { return; } MessageBox.Show("Неверные данные!!!"); Salary.Text = ""; }
private void CheckHireDate(object sender, EventArgs e) { if (FileChecker.CheckHireDate(HireDate.Text)) { return; } MessageBox.Show("Неверные данные!!!"); HireDate.Text = ""; }
private void CheckDepartment(object sender, EventArgs e) { if (FileChecker.CheckDepartment(Department.Text)) { return; } MessageBox.Show("Неверные данные!!!"); Department.Text = ""; }