Beispiel #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);
     }
 }
Beispiel #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);
     }
 }
Beispiel #3
0
 protected override void AddObject()
 {
     var cinfofrm = new CustomerinfoForm(frmmodetype.add);
     refreshFormData(cinfofrm);
 }
Beispiel #4
0
        protected override void AddObject()
        {
            var cinfofrm = new CustomerinfoForm(frmmodetype.add);

            refreshFormData(cinfofrm);
        }