private void btnEdit_Click(object sender, EventArgs e) { EditPOItems(); frmPurchaseOrder PO_ = new frmPurchaseOrder(txtPoNo.Text); PO_.RefreshGrid(); }
private void btnAdd_Click(object sender, EventArgs e) { if (isValidPoItem() == true) { AddPOItems(); frmPurchaseOrder PO_ = new frmPurchaseOrder(txtPoNo.Text); PO_.RefreshGrid(); this.Close(); } }