private void buttonOK_Click(object sender, EventArgs e)
 {
     if (CoursesRequests.EditSchool(EditId, nameBox.Text) == null)
     {
         MessageBox.Show("Школа не изменена", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
     else
     {
         Close();
     }
 }