protected override void OnLoad(EventArgs e) { base.OnLoad(e); if (!IsDesignMode) { _codeViewerActions = new CodeViewerActions(this, false); ctrlFindOccurrences.Viewer = this; splitContainer.Panel2Collapsed = true; } }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); if (!IsDesignMode) { _codeViewerActions = new CodeViewerActions(this, false); ctrlFindOccurrences.Viewer = this; splitContainer.Panel2Collapsed = true; this.SymbolProvider = DebugWorkspaceManager.SymbolProvider; DebugWorkspaceManager.SymbolProviderChanged += UpdateSymbolProvider; } }
public ctrlDebuggerCode() { InitializeComponent(); _tooltipManager = new CodeTooltipManager(this, this.ctrlCodeViewer); bool designMode = (LicenseManager.UsageMode == LicenseUsageMode.Designtime); if (!designMode) { _codeViewerActions = new CodeViewerActions(this, false); ctrlFindOccurrences.Viewer = this; splitContainer.Panel2Collapsed = true; } }