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