private void classComboBox_SelectionChangeCommitted(object sender, EventArgs e) { studenNameCombobox.Items.Clear(); markThings.StudentFill(this.classComboBox, this.studenNameCombobox); studenNameCombobox.Items.RemoveAt(0); studenNameCombobox.SelectedIndex = 0; }
public Omissionoperator() { InitializeComponent(); comboFill.TeacherFill(actualTeacherComboBox); comboFill.ClassFill(classComboBox); comboFill.StudentFill(classComboBox, studenNameCombobox); comboFill.StudentFill(classComboBox, actualStudentNameComboBox); StartOmissionGridFill(); omissionDataGridView.ColumnHeadersVisible = false; if (Loginscreen.permValue == 103 || Loginscreen.permValue == 104) { deleteOmissionButton.Visible = false; updateOmissionbutton.Visible = false; newOmissionButton.Visible = false; actualCertifyCheckBox.Enabled = false; actualDelayCheckBox.Enabled = false; } }