コード例 #1
0
        private void BtnAdd_Click(object sender, EventArgs e)
        {
            FrmStudent frmStudent = new FrmStudent();

            frmStudent.ShowDialog();
            if (frmStudent.SaveCompleted)
            {
                LoadData();
            }
        }
コード例 #2
0
 private void BtnView_Click(object sender, EventArgs e)
 {
     if (getId != Guid.Empty)
     {
         FrmStudent frmStudent = new FrmStudent(getId, false);
         frmStudent.ShowDialog();
         if (frmStudent.SaveCompleted)
         {
             LoadData();
         }
     }
 }