public StackframeUI(PluginMain pluginMain, ImageList imageList) { this.pluginMain = pluginMain; lv = new ListView(); this.imageColumnHeader = new ColumnHeader(); this.imageColumnHeader.Text = string.Empty; this.imageColumnHeader.Width = 20; this.frameColumnHeader = new ColumnHeader(); this.frameColumnHeader.Text = string.Empty; lv.Columns.AddRange(new ColumnHeader[] { this.imageColumnHeader, this.frameColumnHeader }); lv.FullRowSelect = true; lv.BorderStyle = BorderStyle.None; lv.Dock = System.Windows.Forms.DockStyle.Fill; lv.SmallImageList = imageList; currentImageIndex = imageList.Images.IndexOfKey("StartContinue"); lv.View = System.Windows.Forms.View.Details; lv.MouseDoubleClick += new MouseEventHandler(lv_MouseDoubleClick); lv.KeyDown += new KeyEventHandler(lv_KeyDown); lv.SizeChanged += new EventHandler(lv_SizeChanged); this.Controls.Add(lv); }
public StackframeUI(PluginMain pluginMain, ImageList imageList) { this.pluginMain = pluginMain; lv = new ListView(); this.imageColumnHeader = new ColumnHeader(); this.imageColumnHeader.Text = string.Empty; this.imageColumnHeader.Width = 20; this.frameColumnHeader = new ColumnHeader(); this.frameColumnHeader.Text = string.Empty; lv.Columns.AddRange(new ColumnHeader[] { this.imageColumnHeader, this.frameColumnHeader}); lv.FullRowSelect = true; lv.BorderStyle = BorderStyle.None; lv.Dock = System.Windows.Forms.DockStyle.Fill; lv.SmallImageList = imageList; currentImageIndex = imageList.Images.IndexOfKey("StartContinue"); lv.View = System.Windows.Forms.View.Details; lv.MouseDoubleClick += new MouseEventHandler(lv_MouseDoubleClick); lv.KeyDown += new KeyEventHandler(lv_KeyDown); lv.SizeChanged += new EventHandler(lv_SizeChanged); this.Controls.Add(lv); }
public BreakPointUI(PluginMain pluginMain, BreakPointManager breakPointManager) { init(); this.pluginMain = pluginMain; this.breakPointManager = breakPointManager; this.breakPointManager.ChangeBreakPointEvent += new ChangeBreakPointEventHandler(breakPointManager_ChangeBreakPointEvent); this.breakPointManager.UpdateBreakPointEvent += new UpdateBreakPointEventHandler(breakPointManager_UpdateBreakPointEvent); this.Controls.Add(this.dgv); }
public PluginUI(PluginMain pluginMain) { this.pluginMain = pluginMain; this.treeControl = new DataTreeControl(); this.treeControl.Tree.BorderStyle = BorderStyle.None; this.treeControl.Resize += new EventHandler(this.TreeControlResize); this.treeControl.Tree.Font = PluginBase.Settings.DefaultFont; this.treeControl.Dock = DockStyle.Fill; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.treeControl); }
public PanelsHelper(PluginMain pluginMain, Image pluginImage) { pluginUI = new PluginUI(pluginMain); pluginUI.Text = TextHelper.GetString("Title.LocalVariables"); pluginPanel = PluginBase.MainForm.CreateDockablePanel(pluginUI, pluginGuid, pluginImage, DockState.Hidden); breakPointUI = new BreakPointUI(pluginMain, PluginMain.breakPointManager); breakPointUI.Text = TextHelper.GetString("Title.Breakpoints"); breakPointPanel = PluginBase.MainForm.CreateDockablePanel(breakPointUI, breakPointGuid, pluginImage, DockState.Hidden); stackframeUI = new StackframeUI(pluginMain, MenusHelper.imageList); stackframeUI.Text = TextHelper.GetString("Title.StackTrace"); stackframePanel = PluginBase.MainForm.CreateDockablePanel(stackframeUI, stackframeGuid, pluginImage, DockState.Hidden); }