/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PluginUI)); this.scrollTimer = new System.Timers.Timer(); this.textLog = new System.Windows.Forms.RichTextBox(); this.toolStrip = new PluginCore.Controls.ToolStripEx(); this.toggleButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.findTextBox = new System.Windows.Forms.ToolStripSpringTextBox(); this.clearButton = new System.Windows.Forms.ToolStripButton(); ((System.ComponentModel.ISupportInitialize)(this.scrollTimer)).BeginInit(); this.toolStrip.SuspendLayout(); this.SuspendLayout(); // // scrollTimer // this.scrollTimer.Enabled = true; this.scrollTimer.Interval = 50; this.scrollTimer.SynchronizingObject = this; this.scrollTimer.Elapsed += new System.Timers.ElapsedEventHandler(this.ScrollTimerElapsed); // // textLog // this.textLog.BackColor = System.Drawing.SystemColors.Window; this.textLog.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textLog.Dock = System.Windows.Forms.DockStyle.Fill; this.textLog.Location = new System.Drawing.Point(1, 26); this.textLog.Name = "textLog"; this.textLog.ReadOnly = true; this.textLog.Size = new System.Drawing.Size(278, 326); this.textLog.TabIndex = 1; this.textLog.Text = ""; this.textLog.WordWrap = false; this.textLog.KeyDown += new System.Windows.Forms.KeyEventHandler(this.PluginUIKeyDown); this.textLog.MouseUp += new System.Windows.Forms.MouseEventHandler(this.TextLogMouseUp); this.textLog.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.LinkClicked); this.textLog.MouseDown += new System.Windows.Forms.MouseEventHandler(this.TextLogMouseDown); // // toolStrip // this.toolStrip.CanOverflow = false; this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip.ImageScalingSize = ScaleHelper.Scale(new Size(16, 16)); this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toggleButton, this.toolStripSeparator1, this.findTextBox, this.clearButton}); this.toolStrip.Location = new System.Drawing.Point(1, 0); this.toolStrip.Name = "toolStrip"; this.toolStrip.Padding = new System.Windows.Forms.Padding(1, 1, 2, 2); this.toolStrip.Size = new System.Drawing.Size(278, 26); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 1; // // toggleButton // this.toggleButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toggleButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.toggleButton.Name = "toggleButton"; this.toggleButton.Size = new System.Drawing.Size(23, 20); this.toggleButton.Text = "toolStripButton1"; this.toggleButton.Click += new System.EventHandler(this.ToggleButtonClick); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // findTextBox // this.findTextBox.Name = "FindTextBox"; this.findTextBox.Size = new System.Drawing.Size(190, 23); this.findTextBox.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0); this.findTextBox.ForeColor = System.Drawing.SystemColors.GrayText; this.findTextBox.TextChanged += new System.EventHandler(this.FindTextBoxTextChanged); this.findTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.PluginUIKeyDown); this.findTextBox.Leave += new System.EventHandler(this.FindTextBoxLeave); this.findTextBox.Enter += new System.EventHandler(this.FindTextBoxEnter); // // clearButton // this.clearButton.Name = "clearButton"; this.clearButton.Size = new System.Drawing.Size(23, 21); this.clearButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.clearButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.clearButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.clearButton.Click += new System.EventHandler(this.ClearButtonClick); // // PluginUI // this.Controls.Add(this.textLog); this.Controls.Add(this.toolStrip); this.Name = "PluginUI"; this.Size = new System.Drawing.Size(280, 352); ((System.ComponentModel.ISupportInitialize)(this.scrollTimer)).EndInit(); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PluginUI)); this.treeIcons = new System.Windows.Forms.ImageList(this.components); this.toolStrip = new System.Windows.Forms.ToolStrip(); this.sortDropDown = new System.Windows.Forms.ToolStripDropDownButton(); this.noneItem = new System.Windows.Forms.ToolStripMenuItem(); this.sortedItem = new System.Windows.Forms.ToolStripMenuItem(); this.sortedByKindItem = new System.Windows.Forms.ToolStripMenuItem(); this.sortedSmartItem = new System.Windows.Forms.ToolStripMenuItem(); this.sortedGroupItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.findProcTxt = new System.Windows.Forms.ToolStripSpringTextBox(); this.clearButton = new System.Windows.Forms.ToolStripButton(); this.toolStrip.SuspendLayout(); this.SuspendLayout(); // // treeIcons // this.treeIcons.TransparentColor = System.Drawing.Color.Transparent; // // toolStrip // this.toolStrip.CanOverflow = false; this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.sortDropDown, this.toolStripSeparator1, this.findProcTxt, this.clearButton}); this.toolStrip.Location = new System.Drawing.Point(1, 0); this.toolStrip.Name = "toolStrip"; this.toolStrip.Size = new System.Drawing.Size(266, 25); this.toolStrip.TabIndex = 0; // // sortDropDown // this.sortDropDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.sortDropDown.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.noneItem, this.sortedItem, this.sortedByKindItem, this.sortedSmartItem, this.sortedGroupItem}); this.sortDropDown.ImageTransparentColor = System.Drawing.Color.Magenta; this.sortDropDown.Name = "sortDropDown"; this.sortDropDown.Size = new System.Drawing.Size(13, 22); this.sortDropDown.Text = ""; this.sortDropDown.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.sortDropDown_DropDownItemClicked); this.sortDropDown.DropDownOpening += new System.EventHandler(this.sortDropDown_DropDownOpening); this.sortDropDown.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); // // noneItem // this.noneItem.Name = "noneItem"; this.noneItem.Size = new System.Drawing.Size(152, 22); this.noneItem.Text = "None"; // // sortedItem // this.sortedItem.Name = "sortedItem"; this.sortedItem.Size = new System.Drawing.Size(152, 22); this.sortedItem.Text = "Sorted"; // // sortedByKindItem // this.sortedByKindItem.Name = "sortedByKindItem"; this.sortedByKindItem.Size = new System.Drawing.Size(152, 22); this.sortedByKindItem.Text = "SortedByKind"; // // sortedSmartItem // this.sortedSmartItem.Name = "sortedSmartItem"; this.sortedSmartItem.Size = new System.Drawing.Size(152, 22); this.sortedSmartItem.Text = "SortedSmart"; // // sortedGroupItem // this.sortedGroupItem.Name = "sortedGroupItem"; this.sortedGroupItem.Size = new System.Drawing.Size(152, 22); this.sortedGroupItem.Text = "SortedGroup"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // findProcTxt // this.findProcTxt.Name = "findProcTxt"; this.findProcTxt.Size = new System.Drawing.Size(100, 25); this.findProcTxt.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0); this.findProcTxt.Leave += new System.EventHandler(this.FindProcTxtLeave); this.findProcTxt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FindProcTxtKeyDown); this.findProcTxt.Enter += new System.EventHandler(this.FindProcTxtEnter); this.findProcTxt.TextChanged += new System.EventHandler(this.FindProcTxtChanged); // // clearButton // this.clearButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.clearButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.clearButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.clearButton.Name = "clearButton"; this.clearButton.Size = new System.Drawing.Size(23, 22); this.clearButton.Click += new System.EventHandler(this.clearButton_Click); // // PluginUI // this.Controls.Add(this.toolStrip); this.Name = "PluginUI"; this.Size = new System.Drawing.Size(268, 300); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.scrollTimer = new System.Timers.Timer(); this.textLog = new System.Windows.Forms.RichTextBox(); this.toolStrip = new System.Windows.Forms.ToolStrip(); this.clearButton = new System.Windows.Forms.ToolStripButton(); this.findTextBox = new System.Windows.Forms.ToolStripSpringTextBox(); ((System.ComponentModel.ISupportInitialize)(this.scrollTimer)).BeginInit(); this.SuspendLayout(); // // scrollTimer // this.scrollTimer.Enabled = true; this.scrollTimer.Interval = 50; this.scrollTimer.SynchronizingObject = this; this.scrollTimer.Elapsed += new System.Timers.ElapsedEventHandler(this.ScrollTimerElapsed); // // textLog // this.textLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textLog.BackColor = System.Drawing.SystemColors.Window; this.textLog.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textLog.Dock = System.Windows.Forms.DockStyle.Fill; this.textLog.Location = new System.Drawing.Point(1, 22); this.textLog.Name = "textLog"; this.textLog.ReadOnly = true; this.textLog.Size = new System.Drawing.Size(278, 330); this.textLog.TabIndex = 1; this.textLog.Text = ""; this.textLog.WordWrap = false; this.textLog.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.LinkClicked); this.textLog.KeyDown += new System.Windows.Forms.KeyEventHandler(this.PluginUIKeyDown); // // toolStrip // this.toolStrip.CanOverflow = false; this.toolStrip.Dock = System.Windows.Forms.DockStyle.Top; this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.findTextBox, this.clearButton }); this.toolStrip.Name = "toolStrip"; this.toolStrip.Padding = new System.Windows.Forms.Padding(1, 1, 2, 2); this.toolStrip.Size = new System.Drawing.Size(298, 26); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 1; // // findTextBox // this.findTextBox.Name = "FindTextBox"; this.findTextBox.Size = new System.Drawing.Size(200, 22); this.findTextBox.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0); this.findTextBox.ForeColor = System.Drawing.SystemColors.GrayText; this.findTextBox.TextChanged += new System.EventHandler(this.FindTextBoxTextChanged); this.findTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.PluginUIKeyDown); this.findTextBox.Leave += new System.EventHandler(this.FindTextBoxLeave); this.findTextBox.Enter += new System.EventHandler(this.FindTextBoxEnter); // // clearButton // this.clearButton.Name = "clearButton"; this.clearButton.Size = new System.Drawing.Size(23, 22); this.clearButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.clearButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.clearButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.clearButton.Size = new System.Drawing.Size(23, 22); this.clearButton.Click += new System.EventHandler(this.ClearButtonClick); // // PluginUI // this.Controls.Add(this.textLog); this.Controls.Add(this.toolStrip); this.Name = "PluginUI"; this.Size = new System.Drawing.Size(280, 352); ((System.ComponentModel.ISupportInitialize)(this.scrollTimer)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.entriesView = new System.Windows.Forms.ListViewEx(); this.entryType = new System.Windows.Forms.ColumnHeader(); this.entryLine = new System.Windows.Forms.ColumnHeader(); this.entryDesc = new System.Windows.Forms.ColumnHeader(); this.entryFile = new System.Windows.Forms.ColumnHeader(); this.entryPath = new System.Windows.Forms.ColumnHeader(); this.toolStripFilters = new PluginCore.Controls.ToolStripEx(); this.clearFilterButton = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonError = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonWarning = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonInfo = new System.Windows.Forms.ToolStripButton(); this.toolStripTextBoxFilter = new System.Windows.Forms.ToolStripSpringTextBox(); this.toolStripLabelFilter = new System.Windows.Forms.ToolStripLabel(); this.toolStripFilters.SuspendLayout(); this.SuspendLayout(); // // clearFilterButton // this.clearFilterButton.Enabled = false; this.clearFilterButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.clearFilterButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.clearFilterButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.clearFilterButton.Name = "clearFilterButton"; this.clearFilterButton.Size = new System.Drawing.Size(23, 26); this.clearFilterButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.clearFilterButton.Click += new System.EventHandler(this.ClearFilterButtonClick); // // entriesView // this.entriesView.Dock = DockStyle.Fill; this.entriesView.BorderStyle = System.Windows.Forms.BorderStyle.None; this.entriesView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.entryType, this.entryLine, this.entryDesc, this.entryFile, this.entryPath }); this.entriesView.FullRowSelect = true; this.entriesView.GridLines = true; this.entriesView.Location = new System.Drawing.Point(0, 28); this.entriesView.Name = "entriesView"; this.entriesView.ShowItemToolTips = true; this.entriesView.Size = new System.Drawing.Size(710, 218); this.entriesView.TabIndex = 1; this.entriesView.UseCompatibleStateImageBehavior = false; this.entriesView.View = System.Windows.Forms.View.Details; this.entriesView.DoubleClick += new System.EventHandler(this.EntriesViewDoubleClick); this.entriesView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.EntriesViewKeyDown); // // entryType // this.entryType.Text = "!"; this.entryType.Width = 23; // // entryLine // this.entryLine.Text = "Line"; this.entryLine.Width = 55; // // entryDesc // this.entryDesc.Text = "Description"; this.entryDesc.Width = 350; // // entryFile // this.entryFile.Text = "File"; this.entryFile.Width = 150; // // entryPath // this.entryPath.Text = "Path"; this.entryPath.Width = 400; // // toolStripFilters // this.toolStripFilters.ImageScalingSize = ScaleHelper.Scale(new Size(16, 16)); this.toolStripFilters.CanOverflow = false; this.toolStripFilters.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow; this.toolStripFilters.Padding = new System.Windows.Forms.Padding(1, 1, 2, 2); this.toolStripFilters.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStripFilters.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripButtonError, new ToolStripSeparator(), this.toolStripButtonWarning, new ToolStripSeparator(), this.toolStripButtonInfo, new ToolStripSeparator(), this.toolStripLabelFilter, this.toolStripTextBoxFilter, this.clearFilterButton}); this.toolStripFilters.Name = "toolStripFilters"; this.toolStripFilters.Location = new System.Drawing.Point(1, 0); this.toolStripFilters.Size = new System.Drawing.Size(710, 25); this.toolStripFilters.TabIndex = 0; this.toolStripFilters.Text = "toolStripFilters"; // // toolStripButtonError // this.toolStripButtonError.Checked = true; this.toolStripButtonError.CheckOnClick = true; this.toolStripButtonError.Margin = new System.Windows.Forms.Padding(1, 1, 0, 1); this.toolStripButtonError.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButtonError.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonError.Name = "toolStripButtonError"; this.toolStripButtonError.Size = new System.Drawing.Size(36, 22); this.toolStripButtonError.Text = "Error"; this.toolStripButtonError.CheckedChanged += new System.EventHandler(this.ToolStripButtonErrorCheckedChanged); // // toolStripButtonWarning // this.toolStripButtonWarning.Checked = true; this.toolStripButtonWarning.CheckOnClick = true; this.toolStripButtonWarning.Margin = new System.Windows.Forms.Padding(1, 1, 0, 1); this.toolStripButtonWarning.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButtonWarning.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonWarning.Name = "toolStripButtonWarning"; this.toolStripButtonWarning.Size = new System.Drawing.Size(56, 22); this.toolStripButtonWarning.Text = "Warning"; this.toolStripButtonWarning.CheckedChanged += new System.EventHandler(this.ToolStripButtonErrorCheckedChanged); // // toolStripButtonInfo // this.toolStripButtonInfo.Checked = true; this.toolStripButtonInfo.CheckOnClick = true; this.toolStripButtonInfo.Margin = new System.Windows.Forms.Padding(1, 1, 0, 1); this.toolStripButtonInfo.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButtonInfo.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonInfo.Name = "toolStripButtonInfo"; this.toolStripButtonInfo.Size = new System.Drawing.Size(74, 22); this.toolStripButtonInfo.Text = "Information"; this.toolStripButtonInfo.CheckedChanged += new System.EventHandler(this.ToolStripButtonErrorCheckedChanged); // // toolStripTextBoxFilter // this.toolStripTextBoxFilter.Name = "toolStripTextBoxFilter"; this.toolStripTextBoxFilter.Size = new System.Drawing.Size(100, 25); this.toolStripTextBoxFilter.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0); this.toolStripTextBoxFilter.TextChanged += new System.EventHandler(this.ToolStripButtonErrorCheckedChanged); // // toolStripLabelFilter // this.toolStripLabelFilter.Margin = new System.Windows.Forms.Padding(2, 1, 0, 1); this.toolStripLabelFilter.Name = "toolStripLabelFilter"; this.toolStripLabelFilter.Size = new System.Drawing.Size(36, 22); this.toolStripLabelFilter.Text = "Filter:"; // // PluginUI // this.Name = "PluginUI"; this.Resize += this.PluginUIResize; this.Controls.Add(this.entriesView); this.Controls.Add(this.toolStripFilters); this.Size = new System.Drawing.Size(712, 246); this.toolStripFilters.ResumeLayout(false); this.toolStripFilters.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponents(ImageList imageList) { this.toolStripLabelFilter = new System.Windows.Forms.ToolStripLabel(); this.toolStripTextBoxFilter = new System.Windows.Forms.ToolStripSpringTextBox(); this.clearFilterButton = new System.Windows.Forms.ToolStripButton(); this.toolStripDropDownOptions = new System.Windows.Forms.ToolStripDropDownButton(); this.toolStripItemMatchCase = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripItemRegEx = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripItemNegate = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripFilters = new PluginCore.Controls.ToolStripEx(); this.toolStripFilters.SuspendLayout(); // // toolStripTextBoxFilter // this.toolStripTextBoxFilter.Name = "toolStripTextBoxFilter"; this.toolStripTextBoxFilter.Size = new System.Drawing.Size(100, 25); this.toolStripTextBoxFilter.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0); this.toolStripTextBoxFilter.Enabled = false; this.toolStripTextBoxFilter.TextChanged += new System.EventHandler(this.ToolStripTextFieldFilter_Changed); // // toolStripLabelFilter // this.toolStripLabelFilter.Margin = new System.Windows.Forms.Padding(2, 1, 0, 1); this.toolStripLabelFilter.Name = "toolStripLabelFilter"; this.toolStripLabelFilter.Size = new System.Drawing.Size(36, 22); this.toolStripLabelFilter.Text = "Filter:"; // // clearFilterButton // this.clearFilterButton.Enabled = false; this.clearFilterButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.clearFilterButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.clearFilterButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.clearFilterButton.Name = "clearFilterButton"; this.clearFilterButton.Size = new System.Drawing.Size(23, 26); this.clearFilterButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.clearFilterButton.Image = PluginBase.MainForm.FindImage("153"); this.clearFilterButton.Click += new System.EventHandler(this.ClearFilterButton_Click); // // toolStripItemMatchCase // this.toolStripItemMatchCase.Name = "toolStripItemMatchCase"; this.toolStripItemMatchCase.CheckOnClick = true; this.toolStripItemMatchCase.Text = "Match Case"; this.toolStripItemNegate.Click += FilterOption_Click; // // toolStripItemRegEx // this.toolStripItemRegEx.Name = "toolStripItemRegEx"; this.toolStripItemRegEx.CheckOnClick = true; this.toolStripItemRegEx.Text = "Regular Expression"; this.toolStripItemNegate.Click += FilterOption_Click; // // toolStripItemNegate // this.toolStripItemNegate.Name = "toolStripItemNegate"; this.toolStripItemNegate.CheckOnClick = true; this.toolStripItemNegate.Text = "Match Opposite"; this.toolStripItemNegate.Click += FilterOption_Click; // // toolStripDropDownOptions // this.toolStripDropDownOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripDropDownOptions.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripItemMatchCase, this.toolStripItemRegEx, this.toolStripItemNegate}); this.toolStripDropDownOptions.Name = "toolStripDropDownOptions"; this.toolStripDropDownOptions.Text = "Options"; // // toolStripFilters // this.toolStripFilters.ImageScalingSize = ScaleHelper.Scale(new System.Drawing.Size(16, 16)); this.toolStripFilters.CanOverflow = false; this.toolStripFilters.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow; this.toolStripFilters.Padding = new System.Windows.Forms.Padding(1, 1, 2, 2); this.toolStripFilters.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStripFilters.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabelFilter, this.toolStripTextBoxFilter, this.clearFilterButton, this.toolStripDropDownOptions}); this.toolStripFilters.Name = "toolStripFilters"; this.toolStripFilters.Location = new System.Drawing.Point(1, 0); this.toolStripFilters.Size = new System.Drawing.Size(710, 25); this.toolStripFilters.TabIndex = 0; this.toolStripFilters.Text = "toolStripFilters"; // lv this.lv = new ListViewEx(); this.lv.ShowItemToolTips = true; this.imageColumnHeader = new ColumnHeader(); this.imageColumnHeader.Text = string.Empty; this.imageColumnHeader.Width = 20; this.frameColumnHeader = new ColumnHeader(); this.frameColumnHeader.Text = string.Empty; this.lv.Columns.AddRange(new ColumnHeader[] { this.imageColumnHeader, this.frameColumnHeader}); this.lv.FullRowSelect = true; this.lv.BorderStyle = BorderStyle.None; this.lv.Dock = System.Windows.Forms.DockStyle.Fill; foreach (ColumnHeader column in lv.Columns) { column.Width = ScaleHelper.Scale(column.Width); } 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); this.Controls.Add(toolStripFilters); this.toolStripFilters.ResumeLayout(false); this.toolStripFilters.PerformLayout(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PluginUI)); this.treeIcons = new System.Windows.Forms.ImageList(this.components); this.toolStrip = new System.Windows.Forms.ToolStrip(); this.sortDropDown = new System.Windows.Forms.ToolStripDropDownButton(); this.noneItem = new System.Windows.Forms.ToolStripMenuItem(); this.sortedItem = new System.Windows.Forms.ToolStripMenuItem(); this.sortedByKindItem = new System.Windows.Forms.ToolStripMenuItem(); this.sortedSmartItem = new System.Windows.Forms.ToolStripMenuItem(); this.sortedGroupItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.findProcTxt = new System.Windows.Forms.ToolStripSpringTextBox(); this.clearButton = new System.Windows.Forms.ToolStripButton(); this.toolStrip.SuspendLayout(); this.SuspendLayout(); // // treeIcons // this.treeIcons.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("treeIcons.ImageStream"))); this.treeIcons.TransparentColor = System.Drawing.Color.Transparent; this.treeIcons.Images.SetKeyName(0, "FilePlain.png"); this.treeIcons.Images.SetKeyName(1, "FolderClosed.png"); this.treeIcons.Images.SetKeyName(2, "FolderOpen.png"); this.treeIcons.Images.SetKeyName(3, "CheckAS.png"); this.treeIcons.Images.SetKeyName(4, "QuickBuild.png"); this.treeIcons.Images.SetKeyName(5, "Package.png"); this.treeIcons.Images.SetKeyName(6, "Interface.png"); this.treeIcons.Images.SetKeyName(7, "Intrinsic.png"); this.treeIcons.Images.SetKeyName(8, "Class.png"); this.treeIcons.Images.SetKeyName(9, "Variable.png"); this.treeIcons.Images.SetKeyName(10, "VariableProtected.png"); this.treeIcons.Images.SetKeyName(11, "VariablePrivate.png"); this.treeIcons.Images.SetKeyName(12, "Const.png"); this.treeIcons.Images.SetKeyName(13, "ConstProtected.png"); this.treeIcons.Images.SetKeyName(14, "ConstPrivate.png"); this.treeIcons.Images.SetKeyName(15, "Method.png"); this.treeIcons.Images.SetKeyName(16, "MethodProtected.png"); this.treeIcons.Images.SetKeyName(17, "MethodPrivate.png"); this.treeIcons.Images.SetKeyName(18, "Property.png"); this.treeIcons.Images.SetKeyName(19, "PropertyProtected.png"); this.treeIcons.Images.SetKeyName(20, "PropertyPrivate.png"); this.treeIcons.Images.SetKeyName(21, "Template.png"); this.treeIcons.Images.SetKeyName(22, "Declaration.png"); // // toolStrip // this.toolStrip.CanOverflow = false; this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.sortDropDown, this.toolStripSeparator1, this.findProcTxt, this.clearButton}); this.toolStrip.Location = new System.Drawing.Point(1, 0); this.toolStrip.Name = "toolStrip"; this.toolStrip.Size = new System.Drawing.Size(266, 25); this.toolStrip.TabIndex = 0; // // sortDropDown // this.sortDropDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.sortDropDown.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.noneItem, this.sortedItem, this.sortedByKindItem, this.sortedSmartItem, this.sortedGroupItem}); this.sortDropDown.ImageTransparentColor = System.Drawing.Color.Magenta; this.sortDropDown.Name = "sortDropDown"; this.sortDropDown.Size = new System.Drawing.Size(13, 22); this.sortDropDown.Text = ""; this.sortDropDown.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.sortDropDown_DropDownItemClicked); this.sortDropDown.DropDownOpening += new System.EventHandler(this.sortDropDown_DropDownOpening); this.sortDropDown.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); // // noneItem // this.noneItem.Name = "noneItem"; this.noneItem.Size = new System.Drawing.Size(152, 22); this.noneItem.Text = "None"; // // sortedItem // this.sortedItem.Name = "sortedItem"; this.sortedItem.Size = new System.Drawing.Size(152, 22); this.sortedItem.Text = "Sorted"; // // sortedByKindItem // this.sortedByKindItem.Name = "sortedByKindItem"; this.sortedByKindItem.Size = new System.Drawing.Size(152, 22); this.sortedByKindItem.Text = "SortedByKind"; // // sortedSmartItem // this.sortedSmartItem.Name = "sortedSmartItem"; this.sortedSmartItem.Size = new System.Drawing.Size(152, 22); this.sortedSmartItem.Text = "SortedSmart"; // // sortedGroupItem // this.sortedGroupItem.Name = "sortedGroupItem"; this.sortedGroupItem.Size = new System.Drawing.Size(152, 22); this.sortedGroupItem.Text = "SortedGroup"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // findProcTxt // this.findProcTxt.Name = "findProcTxt"; this.findProcTxt.Size = new System.Drawing.Size(100, 25); this.findProcTxt.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0); this.findProcTxt.Leave += new System.EventHandler(this.FindProcTxtLeave); this.findProcTxt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FindProcTxtKeyDown); this.findProcTxt.Enter += new System.EventHandler(this.FindProcTxtEnter); this.findProcTxt.TextChanged += new System.EventHandler(this.FindProcTxtChanged); // // clearButton // this.clearButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.clearButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.clearButton.Image = ((System.Drawing.Image)(resources.GetObject("clearButton.Image"))); this.clearButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.clearButton.Name = "clearButton"; this.clearButton.Size = new System.Drawing.Size(23, 22); this.clearButton.Click += new System.EventHandler(this.clearButton_Click); // // PluginUI // this.Controls.Add(this.toolStrip); this.Name = "PluginUI"; this.Size = new System.Drawing.Size(268, 300); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }