/// <summary> /// Set gui widgets after sim scan /// </summary> private void ScanSimAfter() { PBar.SetVisible(false); mainwindow_Ui.MainMenu.Enabled = true; mainwindow_Ui.TopToolBar.Enabled = true; mainwindow_Ui.FrameSim.Enabled = true; mainwindow_Ui.FrameFile.Enabled = true; MainClass.QtWait(); }
/// <summary> /// Set gui widgets before sim scan /// </summary> private void ScanSimBefore() { // Setup ProgressBar PBar.SetMinimum(0); PBar.SetMaximum(GlobalObjUI.SimADNRecordCount); PBar.SetValue(0); PBar.SetVisible(true); mainwindow_Ui.MainMenu.Enabled = false; mainwindow_Ui.TopToolBar.Enabled = false; mainwindow_Ui.FrameSim.Enabled = false; mainwindow_Ui.FrameFile.Enabled = false; MainClass.QtWait(); }