private void buttonClose_Click(object sender, EventArgs e) { this.Close(); EditSubjectInfo editTopic = new EditSubjectInfo(user, subject); editTopic.Show(); }
private void buttonEditSubject_Click(object sender, EventArgs e) { if (selectedSubject != null) { this.Close(); EditSubjectInfo edit = new EditSubjectInfo(user, selectedSubject); edit.Show(); } }