Пример #1
0
 private void Order_Click(object sender, EventArgs e)
 {
     Hide();
     OrderBoxForm f = new OrderBoxForm() { WindowState = FormWindowState.Maximized/*, MdiParent = MdiParent*/ };
     DialogResult Result = f.ShowDialog();
     Order.Visible = (Common.CurrentOrder != null);
     DialogResult = Result;
 }
Пример #2
0
        public void GoodsPanel1_OrderBoxEvt(object sender, EventArgs e)
        {
            //Cursor = Cursors.WaitCursor;
            goodsPanel1.Visible = false;
            OrderBoxForm f = new OrderBoxForm()
            {
                WindowState = FormWindowState.Maximized                                  /*, MdiParent = this*/
            };

            DialogResult Result = f.ShowDialog();

            ProcessingResult(Result);
            goodsPanel1.Visible = true;
            //Cursor = Cursors.Default;
        }