Ejemplo n.º 1
0
        private void btnNewPO_Click(object sender, EventArgs e)
        {
            if (!User.UserInAction("New Purchase Order"))
            {
                return;
            }
            frmAddEditPurchaseOrder frm = new frmAddEditPurchaseOrder()
            {
                frmPurchaseOrders = this,
                MethodType        = MethodType.Add,
            };

            frm.ShowDialog();
            UcPOGrid.CreateUcControl();
        }
Ejemplo n.º 2
0
 private void frmPurchaseOrders_Load(object sender, EventArgs e)
 {
     UcPOGrid.CreateUcControl();
     UcPOGrid.POGrid.FocusedRowChanged += POGrid_FocusedRowChanged;
 }