public string openAscxInNewWindow() { var monoDecompiler = O2Gui.showAsForm <ascx_MonoDecompiler>("Mono Decompiler"); //,400,400); //var monoDecompiler = (ascx_MonoDecompiler)O2AscxGUI.openAscx(typeof(ascx_MonoDecompiler), O2DockState.Float,"Mono Decompiler"); monoDecompiler.loadAssembly(testExe); monoDecompiler.tvDirectoriesAndFiles.selectNode(0); return("click on method to view it"); }
private static KReflection reflection = new KReflection(); //PublicDI.reflection; public static void openAscxInNewWindow() { var executeWizards = O2Gui.showAsForm <ascx_AssemblyAttributes>("View Assembly Attributes", 400, 400); var targetFile = PublicDI.config.CurrentExecutableDirectory.pathCombine("FluentSharp.CoreLib.dll"); if (targetFile.fileExists()) { log.debug("File exists: {0}", targetFile); executeWizards.loadAssembly(targetFile); } }