예제 #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();
     }
 }