private void btnAddOrder_Click(object sender, EventArgs e) { HCMIS.Desktop.Forms.WorkFlow.PODialog dialog = new HCMIS.Desktop.Forms.WorkFlow.PODialog(0); if (dialog.ShowDialog(this) == DialogResult.Yes) { // Reload the PO Grid. gridOrder.DataSource = PO.GetOrderForSelection(CurrentContext.UserId, null); } }
private void btnAddOrder_Click(object sender, EventArgs e) { HCMIS.Desktop.Forms.WorkFlow.PODialog dialog = new HCMIS.Desktop.Forms.WorkFlow.PODialog(0); if (dialog.ShowDialog(this) == DialogResult.Yes) { // Reload the PO Grid. gridOrder.DataSource = PO.GetOrderForSelection(CurrentContext.UserId,null); } }