Exemple #1
0
 protected override void EditObject()
 {
     if (gvcustomer.DataRowCount > 0)
     {
         int idx = (int)gvcustomer.GetFocusedRowCellValue("id");
         var cinfofrm = new CustomerinfoForm(idx, frmmodetype.edit);
         refreshFormData(cinfofrm);
     }
 }
Exemple #2
0
 protected override void DeleteObject()
 {
     if (gvcustomer.DataRowCount > 0)
     {
         int idx      = (int)gvcustomer.GetFocusedRowCellValue("id");
         var cinfofrm = new CustomerinfoForm(idx, frmmodetype.delete);
         refreshFormData(cinfofrm);
     }
 }
Exemple #3
0
 protected override void AddObject()
 {
     var cinfofrm = new CustomerinfoForm(frmmodetype.add);
     refreshFormData(cinfofrm);
 }
Exemple #4
0
        protected override void AddObject()
        {
            var cinfofrm = new CustomerinfoForm(frmmodetype.add);

            refreshFormData(cinfofrm);
        }