Esempio n. 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();
     }
 }
Esempio n. 2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmAddUpdateSpeciality form = new frmAddUpdateSpeciality(this, true);

            form.Show();
        }