示例#1
0
 private void GVCS_DoubleClick(object sender, EventArgs e)
 {
     if (GVCS.GetSelectedRows().Count() > 0)
     {
         _ChinhSachO = GVCS.GetRow(GVCS.GetSelectedRows()[0]) as O_CHINHSACH;
         if (_ChinhSachO != null)
         {
             new frmChinhSachThem(_ChinhSachO).ShowDialog(this);
         }
     }
 }
示例#2
0
 private void GVCS_Click(object sender, EventArgs e)
 {
     if (GVCS.GetSelectedRows().Count() > 0)
     {
         _ChinhSachO = GVCS.GetRow(GVCS.GetSelectedRows()[0]) as O_CHINHSACH;
         if (_ChinhSachO != null)
         {
             LayChiTiet();
         }
     }
 }