Exemple #1
0
        private void ToolStripMenuItemAddFaculty_Click(object sender, EventArgs e)
        {
            AddFaculty addFaculty = new AddFaculty();

            addFaculty.ShowDialog();
            addFaculty.Close();
            LoadFaculties();
        }
Exemple #2
0
 private void buttonAddFaculty_Click(object sender, EventArgs e)
 {
     try
     {
         AddFaculty addFaculty = new AddFaculty();
         addFaculty.ShowDialog();
         addFaculty.Close();
         LoadFaculties();
         facultiesComboBox.SelectedIndex = -1;
     }
     catch { }
 }
Exemple #3
0
 private void buttonAddFaculty_Click(object sender, EventArgs e)
 {
     try
     {
         AddFaculty addFaculty = new AddFaculty();
         addFaculty.ShowDialog();
         addFaculty.Close();
         this.facultiesTableAdapter.Fill(this.journalDataDataSet.Faculties);
         facultiesComboBox.SelectedIndex = -1;
     }
     catch { }
 }