Пример #1
0
        private void bbiNew_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmThemTinhHinh frm = new frmThemTinhHinh(_tv.ThuViecID);

            frm.ShowDialog();
            LoadData();
        }
Пример #2
0
 private void bbiEdit_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (gridView.SelectedRowsCount > 0)
     {
         frmThemTinhHinh frm = new frmThemTinhHinh(_tv.ThuViecID, list[gridView.GetSelectedRows()[0]].TinhHinhThuViecID);
         frm.ShowDialog();
         LoadData();
     }
 }