示例#1
0
 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;
 }
示例#2
0
        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;
        }
示例#3
0
        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);
        }
示例#4
0
        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;
            }
        }
示例#5
0
 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);
 }