public oTabAssemblyViewer(oTabManager parent, ToolStrip toolStrip, Panel panelMain, ToolStrip mainToolStrip, string tabTitle) : base(parent, toolStrip, panelMain, mainToolStrip, tabTitle) { InitializeComponents(); panelMain.Controls.Add(this.assemblyViewControl); assemblyViewControl.Visible = false; }
public static void clearActiveProcess(oTabManager tabManager) { if (oProcess.activeProcess != null) { // Clean up the old function list tabs if required tabManager.cleanupProcessSpecificTabs(); // Clean up the function master oFunctionMaster.reset(); } activeModules = new List <ProcessModule>(0); activeProcess = null; }
public formMain() { InitializeComponent(); // Create the tab manager tabControlMain.TabPages.Clear(); tabManager = new oTabManager(tabControlMain, toolStrip2, panelVisualization, panelPlay, panelMain); // Add the basic tabs tabManager.addIntroTab("Introduction Page", true); //tabManager.addFunctionListTab("Function List: Empty", new oFunctionList( new List<oFunction>()), true ); //tabManager.addAssemblyViewerTab("Assembly Viewer 1",false); //tabManager.addAssemblyViewerTab("Assembly Viewer 2",false); //tabManager.addMemoryViewerTab("Memory Viewer", false); // Main lock the tab control tabManager.mainLock(true); //Hotkey handler (we can register more hotkeys if we need them) hotKey = new SystemHotKey(Keys.F5, SystemHotKey.KeyModifiers.Control, OnHotKey); }
public formFilter(oFunctionList functionList, oTabManager tabManager, oTabFunctionList tab, FILTER_TYPE filterType, oVisPlayBar playBar) { InitializeComponent(); this.tabManager = tabManager; this.tab = tab; this.functionGrid.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.functionGrid_CellValueNeeded); this.functionList = functionList; this.functionListOutput = functionList.Clone(); updatePredictedOutput(); timerRefreshOutput.Enabled = false; this.playBar = playBar; // Make changes to the interface as determined by the filterType this.filterType = filterType; switch (filterType) { case FILTER_TYPE.FUNCTION_LIST_FILTERED: // Do nothing special break; case FILTER_TYPE.FUNCTION_LIST_FULL: // We cannot replace this list this.buttonApplyReplace.Visible = false; break; case FILTER_TYPE.GENERAL: // We do not want to change any tabs, just provide functionListOutput as the result buttonApplyReplace.Visible = false; buttonApplyNew.Text = "Apply"; // We cannot clip data to selection this.radioTimeRangeClip.Enabled = false; break; } }
public oTabCallSender(oTabManager parent, ToolStrip toolStrip, Panel panelMain, ToolStrip mainToolStrip, string tabTitle, oFunctionList recordedData) : base(parent, toolStrip, panelMain, mainToolStrip, tabTitle) { // Initialize the controls we need InitializeComponents(recordedData); }