public MainForm() { CMsgBoxManager.Initialize(); ProgramLogin(); CLoadingManager.Show("Program Run", "Program Run Waiting..."); InitializeComponent(); Initialize(); CLoadingManager.Hide(); System.Threading.Thread.Sleep(200); TimerShowWindow.Start(); }
private void TimerShowWindowTick(object sender, EventArgs e) { TimerCount++; if (TimerCount >= 2) { TimerCount = 0; TimerShowWindow.Stop(); CLoadingManager.Show("Recent Recipe", "Recipe Loading..."); for (int iLoopCount = 0; iLoopCount < ISMModuleCount; ++iLoopCount) { InspSysManager[iLoopCount].ShowWindows(); } ResultBaseWnd.Show(); CLoadingManager.Hide(); } //FormTopMostInvoke(this, true); if (false == ParamManager.SystemParam.IsSimulationMode) { this.WindowState = FormWindowState.Maximized; } }