Exemplo n.º 1
0
        public PoItemsDialog(PurchaseOrderItems item,frmPurchaseOrder PoUI) {
            this.PoItems = item;
            this.POUI = PoUI;
            InitializeComponent();

            SetValues();
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PoItemsDialog_FormClosing);
        }
Exemplo n.º 2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     EditPOItems();
     frmPurchaseOrder PO_ = new frmPurchaseOrder(txtPoNo.Text);
     PO_.RefreshGrid();
 }
Exemplo n.º 3
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     if (isValidPoItem() == true)
     {
         AddPOItems();
         frmPurchaseOrder PO_ = new frmPurchaseOrder(txtPoNo.Text);
         PO_.RefreshGrid();
         this.Close();
     }
     
 }