コード例 #1
0
 private void AddButton_Click(object sender, EventArgs e)
 {
     StudentInfo studentinfo = new StudentInfo();
     studentinfo.Show();
 }
コード例 #2
0
 private void editToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Student selectedStudent = GetSelectedStudent();
     if (selectedStudent != null)
     {
         //StudentInfo studentInfoUI = new StudentInfo(selectedStudent);
         StudentInfo studentInfoUI = new StudentInfo(selectedStudent);
         studentInfoUI.ShowDialog();
         //loadStudentsList(searchingRoom);
     }
 }