public MainForm() { InitializeComponent(); _client = new xdc.XDebug.Client("localhost", 9000); _client.EventCallback += new XDebugEventHandler(XDebugEventCallback); // Get the forms up. _statusFrm = new xdc.Forms.StatusForm(); _callstackFrm = new xdc.Forms.CallstackForm(); _localContextFrm = new xdc.Forms.ContextForm(_client, "Locals"); // todo, name etc _globalContextFrm = new xdc.Forms.ContextForm(_client, "Globals"); // todo, name etc // Helper objects _breakpointMgr = new BreakpointManager(); _fileMgr = new FileManager(); // Handlers _callstackFrm.StackSelected += new EventHandler <xdc.Forms.StackEventArgs>(_callstackFrm_StackSelected); _CurrentLocation = new Location(); _CurrentLocation.line = -1; this.KeyPreview = true; this.ToggleMenuItems(false); }
public ContextForm(xdc.XDebug.Client client, string text) { InitializeComponent(); this.Text = this.TabText = text; properyControl1.Client = client; }
public MainForm() { InitializeComponent(); _client = new xdc.XDebug.Client("localhost", 9000); _client.EventCallback += new XDebugEventHandler(XDebugEventCallback); // Get the forms up. _statusFrm = new xdc.Forms.StatusForm(); _callstackFrm = new xdc.Forms.CallstackForm(); _localContextFrm = new xdc.Forms.ContextForm(_client, "Locals"); // todo, name etc _globalContextFrm = new xdc.Forms.ContextForm(_client, "Globals"); // todo, name etc // Helper objects _breakpointMgr = new BreakpointManager(); _fileMgr = new FileManager(); // Handlers _callstackFrm.StackSelected += new EventHandler<xdc.Forms.StackEventArgs>(_callstackFrm_StackSelected); _CurrentLocation = new Location(); _CurrentLocation.line = -1; this.KeyPreview = true; this.ToggleMenuItems(false); }
public PropertyForm(xdc.XDebug.Client client) { InitializeComponent(); _client = client; _Model = new TreeModel(); treeViewAdv1.Model = _Model; treeViewAdv1.Expanding += new EventHandler <TreeViewAdvEventArgs>(treeViewAdv1_Expanding); }
public SourceFileForm(xdc.XDebug.Client xdebugClient, string filename) { this._xdebugClient = xdebugClient; this._filename = filename; InitializeComponent(); this.textEditor.TextEditorProperties.UseCustomLine = true; this.textEditor.TextEditorProperties.ShowEOLMarker = false; this.textEditor.TextEditorProperties.ShowSpaces = false; this.textEditor.Document.ReadOnly = true; this.textEditor.TextEditorProperties.CreateBackupCopy = false; this.textEditor.ActiveTextAreaControl.TextArea.IconBarMargin.MouseDown += new ICSharpCode.TextEditor.MarginMouseEventHandler(OnIconBarMarginMouseDown); this.textEditor.ActiveTextAreaControl.TextArea.KeyDown += new System.Windows.Forms.KeyEventHandler(OnTextEditorKeyDown); this.textEditor.Document.BookmarkManager.Removed += new ICSharpCode.TextEditor.Document.BookmarkEventHandler(OnBookmarkRemoved); this.textEditor.Document.BookmarkManager.Added += new ICSharpCode.TextEditor.Document.BookmarkEventHandler(OnBookmarkAdded); this.textEditor.ActiveTextAreaControl.TextArea.ToolTipRequest += new ToolTipRequestEventHandler(OnToolTipRequest); }
public MainForm() { InitializeComponent(); _client = new xdc.XDebug.Client("localhost", 9000); _client.EventCallback += new XDebugEventHandler(XDebugEventCallback); // Get the forms up. _statusFrm = new xdc.Forms.StatusForm(); _callstackFrm = new xdc.Forms.CallstackForm(); // Helper objects _breakpointMgr = new BreakpointManager(); _fileMgr = new FileManager(); _CurrentLocation = new Location(); _CurrentLocation.line = -1; this.KeyPreview = true; this.ToggleMenuItems(false); }
public PropertyForm(xdc.XDebug.Client client) { InitializeComponent(); properyControl1.Client = client; }