Inspect elements (children/siblings) which are not under the mouse
This commit is contained in:
parent
153ef5259f
commit
75f11380f6
3 changed files with 122 additions and 15 deletions
67
Utilities/InspectForm.Designer.cs
generated
67
Utilities/InspectForm.Designer.cs
generated
|
|
@ -28,20 +28,24 @@
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InspectForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.treeView1 = new System.Windows.Forms.TreeView();
|
||||
this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.btnAddSiblings = new System.Windows.Forms.ToolStripButton();
|
||||
this.btnAddChildren = new System.Windows.Forms.ToolStripButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
|
|
@ -50,10 +54,11 @@
|
|||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.toolStrip1);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.propertyGrid1);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(951, 632);
|
||||
this.splitContainer1.SplitterDistance = 590;
|
||||
this.splitContainer1.SplitterWidth = 3;
|
||||
this.splitContainer1.Panel2.Padding = new System.Windows.Forms.Padding(0, 42, 0, 0);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1426, 972);
|
||||
this.splitContainer1.SplitterDistance = 884;
|
||||
this.splitContainer1.TabIndex = 0;
|
||||
//
|
||||
// treeView1
|
||||
|
|
@ -62,9 +67,8 @@
|
|||
this.treeView1.FullRowSelect = true;
|
||||
this.treeView1.HideSelection = false;
|
||||
this.treeView1.Location = new System.Drawing.Point(0, 0);
|
||||
this.treeView1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.treeView1.Name = "treeView1";
|
||||
this.treeView1.Size = new System.Drawing.Size(590, 632);
|
||||
this.treeView1.Size = new System.Drawing.Size(884, 972);
|
||||
this.treeView1.TabIndex = 0;
|
||||
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
|
||||
//
|
||||
|
|
@ -72,26 +76,62 @@
|
|||
//
|
||||
this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.propertyGrid1.LineColor = System.Drawing.SystemColors.ControlDark;
|
||||
this.propertyGrid1.Location = new System.Drawing.Point(0, 0);
|
||||
this.propertyGrid1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.propertyGrid1.Location = new System.Drawing.Point(0, 42);
|
||||
this.propertyGrid1.Name = "propertyGrid1";
|
||||
this.propertyGrid1.Size = new System.Drawing.Size(358, 632);
|
||||
this.propertyGrid1.Size = new System.Drawing.Size(538, 930);
|
||||
this.propertyGrid1.TabIndex = 0;
|
||||
this.propertyGrid1.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid1_PropertyValueChanged);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.btnAddSiblings,
|
||||
this.btnAddChildren});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(2, 2);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(286, 32);
|
||||
this.toolStrip1.TabIndex = 2;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// btnAddSiblings
|
||||
//
|
||||
this.btnAddSiblings.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
||||
this.btnAddSiblings.Image = ((System.Drawing.Image)(resources.GetObject("btnAddSiblings.Image")));
|
||||
this.btnAddSiblings.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btnAddSiblings.Name = "btnAddSiblings";
|
||||
this.btnAddSiblings.Size = new System.Drawing.Size(117, 29);
|
||||
this.btnAddSiblings.Text = "Add Siblings";
|
||||
this.btnAddSiblings.ToolTipText = "Add Siblings";
|
||||
this.btnAddSiblings.Click += new System.EventHandler(this.btnAddSiblings_Click);
|
||||
//
|
||||
// btnAddChildren
|
||||
//
|
||||
this.btnAddChildren.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
||||
this.btnAddChildren.Image = ((System.Drawing.Image)(resources.GetObject("btnAddChildren.Image")));
|
||||
this.btnAddChildren.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btnAddChildren.Name = "btnAddChildren";
|
||||
this.btnAddChildren.Size = new System.Drawing.Size(120, 29);
|
||||
this.btnAddChildren.Text = "Add Children";
|
||||
this.btnAddChildren.Click += new System.EventHandler(this.btnAddChildren_Click);
|
||||
//
|
||||
// InspectForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(951, 632);
|
||||
this.ClientSize = new System.Drawing.Size(1426, 972);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.Name = "InspectForm";
|
||||
this.Text = "InspectForm";
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
this.splitContainer1.Panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
|
@ -101,5 +141,8 @@
|
|||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private System.Windows.Forms.TreeView treeView1;
|
||||
private System.Windows.Forms.PropertyGrid propertyGrid1;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripButton btnAddSiblings;
|
||||
private System.Windows.Forms.ToolStripButton btnAddChildren;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue