private void purchaseInvoiceToolStripMenuItem_Click(object sender, EventArgs e) { frmInvoice frmInvoice = new frmInvoice(); frmInvoice.MdiParent = this; frmInvoice.Show(); }
private void deliveryNoteToolStripMenuItem_Click(object sender, EventArgs e) { frmInvoice obj = new frmInvoice(); obj.MdiParent = this; obj.Show(); }
private void ledgerToolStripMenuItem_Click(object sender, EventArgs e) { frmInvoice f = new frmInvoice(); f.MdiParent = this; f.Show(); }
private void barbtnInvoice_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { Form invoiceListForm = this.checkExist(typeof(frmInvoice)); if (invoiceListForm != null) { invoiceListForm.Activate(); } else { //create new one invoiceListForm = new frmInvoice(); invoiceListForm.MdiParent = this; //set fill parent invoiceListForm.Dock = DockStyle.Fill; //turn off border style invoiceListForm.FormBorderStyle = FormBorderStyle.None; //show invoiceListForm.Show(); } }
private void invoiceFormToolStripMenuItem_Click_1(object sender, EventArgs e) { frmInvoice f = new frmInvoice(); f.MdiParent = this; f.Show(); }