示例#1
0
        void ConvertOpenOrderToolStripMenuItemClick(object sender, EventArgs e)
        {
            frmOutput.ds.Clear();

            this.Cursor = Cursors.WaitCursor;

            if (frmInput.Input8OpenOrderNonOnelogExist)
            {
                OpenOrderNonOnelog openOrderNonOnelog = new OpenOrderNonOnelog();
                openOrderNonOnelog.SetValues();

                Output.Focus();
                Output.tcOutput.SelectTab(Output.tpOpenOrderNonOnelog);
            }

            if (frmInput.Input7OpenOrderOnelogExist)
            {
                OpenOrderOnelog openOrderOnelog = new OpenOrderOnelog();
                openOrderOnelog.SetValues();
                Output.Focus();
                Output.tcOutput.SelectTab(Output.tpOpenOrderOnelog);
            }

            if (frmInput.OpenOrdereSparesNewExist)
            {
                OpenOrdereSpares openOrdereSparesNew = new OpenOrdereSpares();
                openOrdereSparesNew.SetValues();
                Output.Focus();
                Output.tcOutput.SelectTab(Output.tpOpenOrdereSparesNew);
            }

            this.Cursor = Cursors.Default;
        }
示例#2
0
        void ConvertOpenOrderNonOneLogToolStripMenuItemClick(object sender, EventArgs e)
        {
            frmOutput.ds.Clear();
            this.Cursor = Cursors.WaitCursor;
            OpenOrderNonOnelog openOrderNonOnelog = new OpenOrderNonOnelog();

            openOrderNonOnelog.SetValues();

            Output.Focus();
            Output.tcOutput.SelectTab(Output.tpOpenOrderNonOnelog);
            this.Cursor = Cursors.Default;
        }