Esempio n. 1
0
 protected override void DeleteObject()
 {
     if (gvsupplier.DataRowCount > 0)
     {
         int idx = (int)gvsupplier.GetFocusedRowCellValue("id");
         var sinfofrm = new SupplierinfoForm(frmmodetype.delete, idx);
         refreshFormData(sinfofrm);
     }
 }
Esempio n. 2
0
 protected override void DeleteObject()
 {
     if (gvsupplier.DataRowCount > 0)
     {
         int idx      = (int)gvsupplier.GetFocusedRowCellValue("id");
         var sinfofrm = new SupplierinfoForm(frmmodetype.delete, idx);
         refreshFormData(sinfofrm);
     }
 }
Esempio n. 3
0
 protected override void AddObject()
 {
     var sinfofrm = new SupplierinfoForm(frmmodetype.add);
     refreshFormData(sinfofrm);
 }
Esempio n. 4
0
        protected override void AddObject()
        {
            var sinfofrm = new SupplierinfoForm(frmmodetype.add);

            refreshFormData(sinfofrm);
        }