Ejemplo n.º 1
0
 protected override void DeleteObject()
 {
     if (this.gvproduct.DataRowCount > 0)
     {
         int idx = (int)gvproduct.GetFocusedRowCellValue("id");
         var frm = new ProductinfoForm(Common.frmmodetype.delete, idx);
         refreshFormData(frm);
     }
 }
Ejemplo n.º 2
0
 protected override void EditObject()
 {
     if (this.gvproduct.DataRowCount > 0)
     {
         int idx = (int)gvproduct.GetFocusedRowCellValue("id");
         var frm = new ProductinfoForm(Common.frmmodetype.edit, idx);
         refreshFormData(frm);
     }
 }
Ejemplo n.º 3
0
        protected override void AddObject()
        {
            var frm = new ProductinfoForm(Common.frmmodetype.add);

            refreshFormData(frm);
        }
Ejemplo n.º 4
0
 protected override void AddObject()
 {
     var frm = new ProductinfoForm(Common.frmmodetype.add);
     refreshFormData(frm);
 }