コード例 #1
0
        private void buttonClose_Click(object sender, EventArgs e)
        {
            this.Close();
            EditSubjectInfo editTopic = new EditSubjectInfo(user, subject);

            editTopic.Show();
        }
コード例 #2
0
 private void buttonEditSubject_Click(object sender, EventArgs e)
 {
     if (selectedSubject != null)
     {
         this.Close();
         EditSubjectInfo edit = new EditSubjectInfo(user, selectedSubject);
         edit.Show();
     }
 }