Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        public ContextForm(xdc.XDebug.Client client, string text)
        {
            InitializeComponent();
            this.Text = this.TabText = text;

            properyControl1.Client = client;
        }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
        public PropertyForm(xdc.XDebug.Client client)
        {
            InitializeComponent();

            _client = client;

            _Model             = new TreeModel();
            treeViewAdv1.Model = _Model;

            treeViewAdv1.Expanding += new EventHandler <TreeViewAdvEventArgs>(treeViewAdv1_Expanding);
        }
Ejemplo n.º 5
0
        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);
        }
Ejemplo n.º 6
0
        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);
        }
Ejemplo n.º 7
0
        public PropertyForm(xdc.XDebug.Client client)
        {
            InitializeComponent();

            properyControl1.Client = client;
        }