protected override void InitializeComponents() { watchList = new WatchList(); watchList.MouseDoubleClick += watchList_DoubleClick; watchList.ContextMenu = MenuService.CreateContextMenu(this, "/SharpDevelop/Pads/WatchPad/ContextMenu"); watchList.AllowDrop = true; watchList.DragEnter += watchList_DragOver; watchList.Drop += watchList_Drop; watchList.KeyUp += watchList_KeyUp; }
protected override void InitializeComponents() { watchList = new WatchList(); watchList.WatchType = WatchListType.Watch; watchList.ParentPad = this; watchList.ContextMenu = MenuService.CreateContextMenu(this, "/SharpDevelop/Pads/WatchPad/ContextMenu"); watchList.AllowDrop = true; watchList.DragEnter += watchList_DragOver; watchList.Drop += watchList_Drop; watchList.MouseDoubleClick += watchList_DoubleClick; watchList.KeyUp += watchList_KeyUp; panel.Children.Add(watchList); panel.KeyUp += new KeyEventHandler(panel_KeyUp); }
protected override void InitializeComponents() { watchList = new WatchList(WatchListType.Watch); watchList.ContextMenu = MenuService.CreateContextMenu(this, "/SharpDevelop/Pads/WatchPad/ContextMenu"); watchList.MouseDoubleClick += WatchListDoubleClick; watchList.WatchItems.CollectionChanged += OnWatchItemsCollectionChanged; panel.Children.Add(watchList); panel.KeyDown += PanelKeyDown; // wire events that influence the items LoadSavedNodes(); ProjectService.SolutionClosed += delegate { watchList.WatchItems.Clear(); }; ProjectService.ProjectAdded += delegate { LoadSavedNodes(); }; ProjectService.SolutionLoaded += delegate { LoadSavedNodes(); }; }
protected override void InitializeComponents() { watchList = new WatchList(); watchList.WatchType = WatchListType.Watch; watchList.ParentPad = this; watchList.ContextMenu = MenuService.CreateContextMenu(this, "/SharpDevelop/Pads/WatchPad/ContextMenu"); watchList.AllowDrop = true; watchList.DragEnter += watchList_DragOver; watchList.Drop += watchList_Drop; watchList.MouseDoubleClick += watchList_DoubleClick; watchList.KeyUp += watchList_KeyUp; watchList.WatchItems.CollectionChanged += OnWatchItemsCollectionChanged; panel.Children.Add(watchList); panel.KeyUp += new KeyEventHandler(panel_KeyUp); // wire events that influence the items LoadSavedNodes(); ProjectService.SolutionClosed += delegate { watchList.WatchItems.Clear(); }; ProjectService.ProjectAdded += delegate { LoadSavedNodes(); }; ProjectService.SolutionLoaded += delegate { LoadSavedNodes(); }; }
protected override void InitializeComponents() { localVarList = new WatchList(WatchListType.LocalVar); panel.Children.Add(localVarList); }
protected override void InitializeComponents() { localVarList = new WatchList(); }