private void buttonAddSubject_Click(object sender, EventArgs e) { AddSubject addSubject = new AddSubject(); addSubject.ShowDialog(); addSubject.Close(); Subj(); }
private void ToolStripMenuItemAddSubject_Click(object sender, EventArgs e) { AddSubject addSubject = new AddSubject(); addSubject.ShowDialog(); addSubject.Close(); LoadFaculties(); LoadSubjects(); }