Esempio n. 1
0
        private void btnPurchaseOrder_Click(object sender, EventArgs e)
        {
            frmPurchaseOrder frm = new frmPurchaseOrder();
            frmMICS          m   = new frmMICS();

            frm.MdiParent = _form;
            frm.Show();
        }
Esempio n. 2
0
        private void PurchaseOrder_Click(object sender, EventArgs e)
        {
            frmPurchaseOrder Order = new frmPurchaseOrder();

            Order.MdiParent   = this;
            Order.WindowState = FormWindowState.Maximized;
            Order.Show();
        }
Esempio n. 3
0
        public void ShowPurchaseOrder()
        {
            statusBar.Visible      = true;
            statusBarMessage.Text  = "Loading...Please Wait";
            statusBarMessage.Width = 150;

            statusBar.Maximum     = 100;
            statusBar.Value       = 0;
            pnlPleaseWait.Visible = true;
            pnlPleaseWait.Refresh();
            pnlPleaseWait.Update();
            statusBar.Value = 50;
            frmPurchaseOrder frm = new frmPurchaseOrder();

            frm.MdiParent   = this;
            statusBar.Value = 75;
            frm.Show();
            pnlPleaseWait.Visible = false;
            statusBar.Value       = 100;
            statusBar.Value       = 0;
            statusBar.Visible     = false;
            statusBarMessage.Text = "";
        }