Remove sibling/children tree population

This commit is contained in:
John Lewin 2017-09-20 13:06:46 -07:00
parent dccc9c8624
commit 0f0852b1ba
3 changed files with 6 additions and 98 deletions

View file

@ -28,25 +28,20 @@
/// </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.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.btnAddSiblings = new System.Windows.Forms.ToolStripButton();
this.btnAddChildren = new System.Windows.Forms.ToolStripButton();
this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
((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.Margin = new System.Windows.Forms.Padding(2);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
@ -55,9 +50,7 @@
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.toolStrip1);
this.splitContainer1.Panel2.Controls.Add(this.propertyGrid1);
this.splitContainer1.Panel2.Padding = new System.Windows.Forms.Padding(0, 27, 0, 0);
this.splitContainer1.Size = new System.Drawing.Size(440, 632);
this.splitContainer1.SplitterDistance = 169;
this.splitContainer1.SplitterWidth = 3;
@ -70,56 +63,21 @@
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.Margin = new System.Windows.Forms.Padding(2);
this.treeView1.Name = "treeView1";
this.treeView1.Size = new System.Drawing.Size(169, 632);
this.treeView1.TabIndex = 0;
this.treeView1.DrawNode += new System.Windows.Forms.DrawTreeNodeEventHandler(this.treeView1_DrawNode);
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
//
// 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(1, 1);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(161, 25);
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(77, 22);
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(81, 22);
this.btnAddChildren.Text = "Add Children";
this.btnAddChildren.Click += new System.EventHandler(this.btnAddChildren_Click);
//
// propertyGrid1
//
this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
this.propertyGrid1.LineColor = System.Drawing.SystemColors.ControlDark;
this.propertyGrid1.Location = new System.Drawing.Point(0, 27);
this.propertyGrid1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.propertyGrid1.Location = new System.Drawing.Point(0, 0);
this.propertyGrid1.Margin = new System.Windows.Forms.Padding(2);
this.propertyGrid1.Name = "propertyGrid1";
this.propertyGrid1.Size = new System.Drawing.Size(268, 605);
this.propertyGrid1.Size = new System.Drawing.Size(268, 632);
this.propertyGrid1.TabIndex = 0;
this.propertyGrid1.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid1_PropertyValueChanged);
//
@ -129,16 +87,13 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(440, 632);
this.Controls.Add(this.splitContainer1);
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Margin = new System.Windows.Forms.Padding(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);
}
@ -148,8 +103,5 @@
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;
}
}