public static void showWebInspectResultsInO2DockWindow(WebInspectResults webInspectResults) { O2DockPanel.addAscxControlToO2GuiWithDockPanel(typeof(ascx_TableList), true, PoC.dockContentTitle_WebInspectResults); var tableList = (ascx_TableList)O2AscxGUI.getAscx(PoC.dockContentTitle_WebInspectResults); showWebInspectResultsInTableList(webInspectResults, tableList); }
private void dropObject_OunceOzasmt_eDnDAction_ObjectDataReceived_Event(object oObject) { if (File.Exists(oObject.ToString())) { var o2AssessmentOunceScan = new O2Assessment(new O2AssessmentLoad_OunceV6(), oObject.ToString()); o2AssessmentOunceScan.o2Findings = AspNetAnalysis.findWebControlSources(o2AssessmentOunceScan.o2Findings); O2DockPanel.addAscxControlToO2GuiWithDockPanel(typeof(ascx_FindingsViewer), true, PoC.dockContentTitle_FindingsViewer); var findingsViewer = (ascx_FindingsViewer)O2AscxGUI.getAscx(PoC.dockContentTitle_FindingsViewer); findingsViewer.loadO2Assessment(o2AssessmentOunceScan); findingsViewer.setFilter1Value("vulnName"); findingsViewer.setFilter2Value("(no Filter)"); } }
internal static void showFindingsCreatedFromWebInspectResults(WebInspectResults webInspectResults) { // var webInspectResults = (WebInspectResults)oObject; var o2Assessment = new O2Assessment { o2Findings = WebInspectToOzasmt.createO2FindingsFromWebInspectResults( webInspectResults) }; O2DockPanel.addAscxControlToO2GuiWithDockPanel(typeof(ascx_FindingsViewer), true, PoC.dockContentTitle_FindingsViewer); var findingsViewer = (ascx_FindingsViewer)O2AscxGUI.getAscx(PoC.dockContentTitle_FindingsViewer); findingsViewer.loadO2Assessment(o2Assessment); findingsViewer.setFilter1Value("vulnName"); findingsViewer.setFilter2Value("(no Filter)"); //GlobalStaticVars.dO2LoadedO2DockContent[PoC.dockContentTitle_FindingsViewer].dockContent.ParentForm.Height = 500; }
private void btStep_LoadWebInspectFiles_Click(object sender, EventArgs e) { /*O2DockPanel.addAscxControlToO2GuiWithDockPanel(typeof (ascx_FileMappings), * true, * PoC.dockContentTitle_WebInspectScanFiles);*/ // var webInspectScanFiles = // (ascx_FileMappings) O2AscxGUI.getAscx(PoC.dockContentTitle_WebInspectScanFiles); /* if (webInspectScanFiles != null) * // { * webInspectScanFiles.setExtensionsToShow("scan"); * webInspectScanFiles.clearMappings(); * // webInspectScanFiles.addFolder(@"E:\OunceWork\HP_WebInspect\HacmeBankScans"); * webInspectScanFiles.expandTree(); */ O2DockPanel.addAscxControlToO2GuiWithDockPanel(typeof(ascx_WebInspectResults), true, PoC.dockContentTitle_WebInspectResults); // O2DockPanel.setDockState(PoC.dockContentTitle_WebInspectScanFiles, DockState.Document); // } }
private void btLoadMappingsGui_Click(object sender, EventArgs e) { O2DockPanel.addAscxControlToO2GuiWithDockPanel(typeof(ascx_WebInspectOzasmMapperGui), false, "Finding Editor"); }