예제 #1
0
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     if (cbSpeciality.Text.ToString() != string.Empty)
     {
         frmAddUpdateSpeciality form = new frmAddUpdateSpeciality(this, false, dsKhoa.Where <Khoa>(k => k.MaKhoa == lblMaKhoa.Text.ToString()).FirstOrDefault());
         form.Show();
     }
 }
예제 #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmAddUpdateSpeciality form = new frmAddUpdateSpeciality(this, true);

            form.Show();
        }