Esempio n. 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     Code.DismissStudent.Dismiss(Convert.ToString(comboBox1.SelectedItem), false, label2);
     FillCombobox(comboBox1);
     InfoTeacherControl.FillDataGridView(InfoTeacherControl.data);
 }
Esempio n. 2
0
 private void registrateButton_Click(object sender, EventArgs e)
 {
     Registrate(nameTextBox.Text, lnameTextBox.Text, loginTextBox.Text, passwordTextBox.Text, emailTextBox.Text, ReturnDate(comboBox2.SelectedItem.ToString(), (string)comboBox3.SelectedItem, comboBox4.SelectedItem.ToString()), phoneTextBox.Text, label10);
     InfoTeacherControl.FillDataGridView(InfoTeacherControl.data);
     DismissTeacherControl.FillCombobox(DismissTeacherControl.ComboBox);
 }