Пример #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);
        }
Пример #2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     EditPOItems();
     frmPurchaseOrder PO_ = new frmPurchaseOrder(txtPoNo.Text);
     PO_.RefreshGrid();
 }
Пример #3
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     if (isValidPoItem() == true)
     {
         AddPOItems();
         frmPurchaseOrder PO_ = new frmPurchaseOrder(txtPoNo.Text);
         PO_.RefreshGrid();
         this.Close();
     }
     
 }