Ejemplo n.º 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;
        }
Ejemplo n.º 2
0
        void ConvertOpenOrdereSparesNewClick(object sender, EventArgs e)
        {
            frmOutput.ds.Clear();
            this.Cursor = Cursors.WaitCursor;
            OpenOrdereSpares openOrdereSparesNew = new OpenOrdereSpares();

            openOrdereSparesNew.SetValues();

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