Пример #1
0
 private void btnCapNhatKQ_Click(object sender, EventArgs e)
 {
     int flag = 1;
     int index = dgvBNDangKham.SelectedRows[0].Index;
     string MaBN = dgvBNDangKham.Rows[index].Cells["clmMaBN2"].Value.ToString();
     frmKhamBenh frmKhamBenh = new frmKhamBenh(MaBN, flag);
     frmKhamBenh.ShowDialog();
 }
Пример #2
0
        private void btnKhamBenh1_Click(object sender, EventArgs e)
        {
            int         index       = dgvBNChuaKham.SelectedRows[0].Index;
            string      MaBN        = dgvBNChuaKham.Rows[index].Cells["clmMaBN1"].Value.ToString();
            frmKhamBenh frmKhamBenh = new frmKhamBenh(MaBN);

            frmKhamBenh.ShowDialog();
        }
Пример #3
0
        private void btnCapNhatKQ_Click(object sender, EventArgs e)
        {
            int         flag        = 1;
            int         index       = dgvBNDangKham.SelectedRows[0].Index;
            string      MaBN        = dgvBNDangKham.Rows[index].Cells["clmMaBN2"].Value.ToString();
            frmKhamBenh frmKhamBenh = new frmKhamBenh(MaBN, flag);

            frmKhamBenh.ShowDialog();
        }
Пример #4
0
 private void btnKhamBenh1_Click(object sender, EventArgs e)
 {
     int index = dgvBNChuaKham.SelectedRows[0].Index;
     string MaBN = dgvBNChuaKham.Rows[index].Cells["clmMaBN1"].Value.ToString();
     frmKhamBenh frmKhamBenh = new frmKhamBenh(MaBN);
     frmKhamBenh.ShowDialog();
 }