예제 #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 ConvertOpenOrderOneLogToolStripMenuItemClick(object sender, EventArgs e)
        {
            frmOutput.ds.Clear();
            this.Cursor = Cursors.WaitCursor;
            OpenOrderOnelog openOrderOnelog = new OpenOrderOnelog();

            openOrderOnelog.SetValues();

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