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; }
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; }