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

            addFaculty.ShowDialog();
            addFaculty.Close();
            LoadFaculties();
        }
Example #2
0
 private void buttonAddFaculty_Click(object sender, EventArgs e)
 {
     try
     {
         AddFaculty addFaculty = new AddFaculty();
         addFaculty.ShowDialog();
         addFaculty.Close();
         LoadFaculties();
         facultiesComboBox.SelectedIndex = -1;
     }
     catch { }
 }
Example #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 { }
 }