Esempio n. 1
0
        private void purchaseInvoiceToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmInvoice frmInvoice = new frmInvoice();

            frmInvoice.MdiParent = this;
            frmInvoice.Show();
        }
Esempio n. 2
0
        private void deliveryNoteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmInvoice obj = new frmInvoice();

            obj.MdiParent = this;
            obj.Show();
        }
Esempio n. 3
0
        private void ledgerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmInvoice f = new frmInvoice();

            f.MdiParent = this;
            f.Show();
        }
Esempio n. 4
0
        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();
            }
        }
Esempio n. 5
0
 private void invoiceFormToolStripMenuItem_Click_1(object sender, EventArgs e)
 {
     frmInvoice f = new frmInvoice();
     f.MdiParent = this;
     f.Show();
 }