private void pOReportToolStripMenuItem_Click(object sender, EventArgs e) { FrmViewOrder frm = new FrmViewOrder(); frm.MdiParent = this; frm.Show(); }
private void printPurchaseOrderToolStripMenuItem_Click(object sender, EventArgs e) { if (this.frmViewOrder == null) { FrmViewOrder frmDialog = new FrmViewOrder(); frmDialog.MdiParent = this; frmDialog.Show(); } }