public void openGui() { O2AscxGUI.openAscxAsForm(typeof(ascx_FindingsSplitter), findingsSplitterControlName); findingsSplitter = (ascx_FindingsSplitter)O2AscxGUI.getAscx(findingsSplitterControlName); cirDataViewer = findingsSplitter.getCirDataViewer_ToProcess(); findingsViewer = findingsSplitter.getFindingsViewer_toProcess(); ascx_FindingsViewer.o2AssessmentLoadEngines.Add(new O2AssessmentLoad_OunceV6()); }
public void openGui() { DI.log.info("Opening GUI"); // first set up GUI if (O2AscxGUI.launch()) { O2AscxGUI.setLogViewerDockState(O2DockState.DockBottom); cirDataViewer = (ascx_CirDataViewer)O2Messages.openControlInGUISync(typeof(ascx_CirDataViewer), O2DockState.Document, cirDataViewerControlName); Assert.That(cirDataViewer != null, "cirDataViewer was null"); // Then create CirData and fire global O2Message showCirDataStats createCirDataObject(); } }