private void HCSAnalyzer_Load(object sender, EventArgs e) { GlobalInfo = new cGlobalInfo(CompleteScreening, this); // GlobalInfo.WindowName = this.Text; this.Text = GlobalInfo.WindowName + String.Format("Version {0}", Assembly.GetExecutingAssembly().GetName().Version.ToString()) + " (Scalar Mode)"; GlobalInfo.OptionsWindow.Visible = false; GlobalInfo.ComboForSelectedDesc = this.comboBoxDescriptorToDisplay; GlobalInfo.CheckedListBoxForDescActive = this.checkedListBoxActiveDescriptors; //new Kitware.VTK.RenderWindowControl novelRender = new RenderWindowControl GlobalInfo.renderWindowControlForVTK = null;//renderWindowControlForVTK; MyConsole = new FormConsole(); MyConsole.Visible = false; PlateListWindow = new PlatesListForm(); GlobalInfo.PlateListWindow = PlateListWindow; GlobalInfo.panelForPlate = this.panelForPlate; comboBoxClass.SelectedIndex = 1; }
private void StartingUpDateUI() { MyConsole = new FormConsole(); GlobalInfo.CurrentRichTextBox = this.MyConsole.richTextBoxConsole; CompleteScreening.ListDescriptors.CurrentSelectedDescriptor = 0; CompleteScreening.CurrentDisplayPlateIdx = 0; GlobalInfo.LabelForClass = this.labelNumClasses; CompleteScreening.LabelForMin = this.labelMin; CompleteScreening.LabelForMax = this.labelMax; CompleteScreening.PanelForLUT = this.panelForLUT; CompleteScreening.PanelForPlate = this.panelForPlate; // CompleteScreening.ListDescriptors = new cListDescriptors(this.checkedListBoxActiveDescriptors, comboBoxDescriptorToDisplay); PlateListWindow.listBoxPlateNameToProcess.Items.Clear(); PlateListWindow.listBoxAvaliableListPlates.Items.Clear(); // CompleteScreening.ListBoxSelectedPlates = PlateListWindow.listBoxPlateNameToProcess; this.toolStripcomboBoxPlateList.Items.Clear(); CompleteScreening.IsSelectionApplyToAllPlates = checkBoxApplyToAllPlates.Checked; GlobalInfo.CurrentScreen = CompleteScreening; }
private void HCSAnalyzer_Load(object sender, EventArgs e) { GlobalInfo = new cGlobalInfo(CompleteScreening); GlobalInfo.OptionsWindow.Visible = false; GlobalInfo.ComboForSelectedDesc = this.comboBoxDescriptorToDisplay; GlobalInfo.CheckedListBoxForDescActive = this.checkedListBoxActiveDescriptors; //new Kitware.VTK.RenderWindowControl novelRender = new RenderWindowControl GlobalInfo.renderWindowControlForVTK = null;//renderWindowControlForVTK; MyConsole = new FormConsole(); MyConsole.Visible = false; PlateListWindow = new PlatesListForm(); GlobalInfo.PlateListWindow = PlateListWindow; GlobalInfo.panelForPlate = this.panelForPlate; comboBoxClass.SelectedIndex = 1; }