private void InitializeComponent() { this.components = new Container(); this.label1 = new Label(); this.buttonCancel = new NomadButton(); this.buttonOK = new NomadButton(); this.inventoryList = new InventoryList(this.components); this.categoryComboBox = new IndentedComboBox(); base.SuspendLayout(); this.label1.AutoSize = true; this.label1.Location = new Point(12, 9); this.label1.Name = "label1"; this.label1.Size = new Size(156, 13); this.label1.TabIndex = 0; this.label1.Text = "PROMPT_INVENTORY_TEXT"; this.buttonCancel.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.buttonCancel.DialogResult = DialogResult.Cancel; this.buttonCancel.Location = new Point(535, 492); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new Size(75, 23); this.buttonCancel.TabIndex = 3; this.buttonCancel.Text = "PROMPT_CANCEL"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonOK.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.buttonOK.DialogResult = DialogResult.OK; this.buttonOK.Enabled = false; this.buttonOK.Location = new Point(454, 492); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new Size(75, 23); this.buttonOK.TabIndex = 2; this.buttonOK.Text = "PROMPT_OK"; this.buttonOK.UseVisualStyleBackColor = true; this.inventoryList.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.inventoryList.Entries = null; this.inventoryList.Location = new Point(15, 55); this.inventoryList.Name = "inventoryList"; this.inventoryList.OwnerDraw = true; this.inventoryList.Size = new Size(595, 431); this.inventoryList.TabIndex = 4; this.inventoryList.UseCompatibleStateImageBehavior = false; this.inventoryList.View = View.Tile; this.inventoryList.SelectedIndexChanged += new EventHandler(this.inventoryList_SelectedIndexChanged); this.inventoryList.DoubleClick += new EventHandler(this.inventoryList_DoubleClick); this.categoryComboBox.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.categoryComboBox.Location = new Point(15, 25); this.categoryComboBox.MaximumSize = new Size(9999, 24); this.categoryComboBox.MinimumSize = new Size(0, 24); this.categoryComboBox.Name = "categoryComboBox"; this.categoryComboBox.SelectedItem = null; this.categoryComboBox.Size = new Size(595, 24); this.categoryComboBox.TabIndex = 5; this.categoryComboBox.SelectedItemChanged += new EventHandler <IndentedComboboxItemEventArgs>(this.categoryComboBox_SelectedItemChanged); base.AcceptButton = this.buttonOK; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.buttonCancel; base.ClientSize = new Size(622, 519); base.Controls.Add(this.categoryComboBox); base.Controls.Add(this.inventoryList); base.Controls.Add(this.buttonOK); base.Controls.Add(this.buttonCancel); base.Controls.Add(this.label1); base.Name = "PromptInventoryList"; base.StartPosition = FormStartPosition.CenterParent; this.Text = "PROMPT_INVENTORY_TITLE"; base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); this.label1 = new Label(); this.buttonCancel = new NomadButton(); this.buttonOK = new NomadButton(); this.inventoryList = new InventoryList(this.components); this.categoryComboBox = new IndentedComboBox(); base.SuspendLayout(); this.label1.AutoSize = true; this.label1.Location = new Point(12, 9); this.label1.Name = "label1"; this.label1.Size = new Size(156, 13); this.label1.TabIndex = 0; this.label1.Text = "PROMPT_INVENTORY_TEXT"; this.buttonCancel.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.buttonCancel.DialogResult = DialogResult.Cancel; this.buttonCancel.Location = new Point(535, 492); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new Size(75, 23); this.buttonCancel.TabIndex = 3; this.buttonCancel.Text = "PROMPT_CANCEL"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonOK.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.buttonOK.DialogResult = DialogResult.OK; this.buttonOK.Enabled = false; this.buttonOK.Location = new Point(454, 492); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new Size(75, 23); this.buttonOK.TabIndex = 2; this.buttonOK.Text = "PROMPT_OK"; this.buttonOK.UseVisualStyleBackColor = true; this.inventoryList.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.inventoryList.Entries = null; this.inventoryList.Location = new Point(15, 55); this.inventoryList.Name = "inventoryList"; this.inventoryList.OwnerDraw = true; this.inventoryList.Size = new Size(595, 431); this.inventoryList.TabIndex = 4; this.inventoryList.UseCompatibleStateImageBehavior = false; this.inventoryList.View = View.Tile; this.inventoryList.SelectedIndexChanged += new EventHandler(this.inventoryList_SelectedIndexChanged); this.inventoryList.DoubleClick += new EventHandler(this.inventoryList_DoubleClick); this.categoryComboBox.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.categoryComboBox.Location = new Point(15, 25); this.categoryComboBox.MaximumSize = new Size(9999, 24); this.categoryComboBox.MinimumSize = new Size(0, 24); this.categoryComboBox.Name = "categoryComboBox"; this.categoryComboBox.SelectedItem = null; this.categoryComboBox.Size = new Size(595, 24); this.categoryComboBox.TabIndex = 5; this.categoryComboBox.SelectedItemChanged += new EventHandler<IndentedComboboxItemEventArgs>(this.categoryComboBox_SelectedItemChanged); base.AcceptButton = this.buttonOK; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.buttonCancel; base.ClientSize = new Size(622, 519); base.Controls.Add(this.categoryComboBox); base.Controls.Add(this.inventoryList); base.Controls.Add(this.buttonOK); base.Controls.Add(this.buttonCancel); base.Controls.Add(this.label1); base.Name = "PromptInventoryList"; base.StartPosition = FormStartPosition.CenterParent; this.Text = "PROMPT_INVENTORY_TITLE"; base.ResumeLayout(false); base.PerformLayout(); }
private void FillCategories(Inventory.Entry entry, IndentedComboBox.Item item) { if (!entry.IsDirectory) { return; } if (entry.Deleted) { return; } IndentedComboBox.Item item2 = new IndentedComboBox.Item(); item2.Tag = entry; item2.Text = entry.DisplayName; item2.Image = entry.Icon; item.Add(item2); int num = 0; Inventory.Entry[] children = entry.Children; for (int i = 0; i < children.Length; i++) { Inventory.Entry entry2 = children[i]; if (entry2.IsDirectory) { this.FillCategories(entry2, item2); } else { num++; } } if (num > 0) { item2.SubText = "(" + num + ")"; } }
public IndentedComboboxItemEventArgs(IndentedComboBox.Item item) { this.m_item = item; }
public void Add(IndentedComboBox.Item item) { this.m_childList.Add(item); item.Depth = this.Depth + 1; item.Owner = this.Owner; }
private void UpdateItem(IndentedComboBox.Item item, IndentedComboBox.Item selectedItem, ref int index) { foreach (IndentedComboBox.Item current in item.GetChildren()) { if (current == selectedItem) { index = this.comboBox.Items.Count; } this.comboBox.Items.Add(current); this.UpdateItem(current, selectedItem, ref index); } }
private void InitializeComponent() { this.components = new Container(); this.label1 = new Label(); this.tableLayoutPanel1 = new TableLayoutPanel(); this.label4 = new Label(); this.label3 = new Label(); this.label2 = new Label(); this.selObjNameLabel = new Label(); this.selObjSizeLabel = new Label(); this.textBoxSearchObjInv = new TextBox(); this.parentButton = new NomadButton(); this.objectList = new InventoryList(this.components); this.categoryComboBox = new IndentedComboBox(); this.inventoryTree = new InventoryTree(); this.tableLayoutPanel1.SuspendLayout(); base.SuspendLayout(); this.label1.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.label1.Location = new Point(3, 2); this.label1.Name = "label1"; this.label1.Size = new Size(203, 13); this.label1.TabIndex = 1; this.label1.Text = "PARAM_OBJECT_BROWSER"; this.tableLayoutPanel1.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.tableLayoutPanel1.AutoSize = true; this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.Controls.Add(this.label4, 0, 0); this.tableLayoutPanel1.Controls.Add(this.label3, 0, 2); this.tableLayoutPanel1.Controls.Add(this.label2, 0, 1); this.tableLayoutPanel1.Controls.Add(this.selObjNameLabel, 1, 1); this.tableLayoutPanel1.Controls.Add(this.selObjSizeLabel, 1, 2); this.tableLayoutPanel1.Controls.Add(this.textBoxSearchObjInv, 1, 0); this.tableLayoutPanel1.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tableLayoutPanel1.Location = new Point(3, 365); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 23f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 16f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 16f)); this.tableLayoutPanel1.Size = new Size(203, 55); this.tableLayoutPanel1.TabIndex = 9; this.label4.Dock = DockStyle.Fill; this.label4.Location = new Point(0, 0); this.label4.Margin = new Padding(0); this.label4.Name = "label4"; this.label4.Size = new Size(101, 23); this.label4.TabIndex = 9; this.label4.Text = "PARAM_OBJECT_SEARCH"; this.label4.TextAlign = ContentAlignment.MiddleLeft; this.label3.Dock = DockStyle.Fill; this.label3.Location = new Point(0, 39); this.label3.Margin = new Padding(0); this.label3.Name = "label3"; this.label3.Size = new Size(101, 16); this.label3.TabIndex = 6; this.label3.Text = "PARAM_OBJECT_BROWSER_SIZE"; this.label3.TextAlign = ContentAlignment.MiddleLeft; this.label2.Dock = DockStyle.Fill; this.label2.Location = new Point(0, 23); this.label2.Margin = new Padding(0); this.label2.Name = "label2"; this.label2.Size = new Size(101, 16); this.label2.TabIndex = 3; this.label2.Text = "PARAM_OBJECT_BROWSER_SELECTED"; this.label2.TextAlign = ContentAlignment.MiddleLeft; this.selObjNameLabel.BorderStyle = BorderStyle.Fixed3D; this.selObjNameLabel.Dock = DockStyle.Fill; this.selObjNameLabel.Location = new Point(101, 23); this.selObjNameLabel.Margin = new Padding(0); this.selObjNameLabel.Name = "selObjNameLabel"; this.selObjNameLabel.Size = new Size(102, 16); this.selObjNameLabel.TabIndex = 5; this.selObjNameLabel.Text = "None"; this.selObjNameLabel.TextAlign = ContentAlignment.MiddleRight; this.selObjSizeLabel.BorderStyle = BorderStyle.Fixed3D; this.selObjSizeLabel.Dock = DockStyle.Fill; this.selObjSizeLabel.Location = new Point(101, 39); this.selObjSizeLabel.Margin = new Padding(0); this.selObjSizeLabel.Name = "selObjSizeLabel"; this.selObjSizeLabel.Size = new Size(102, 16); this.selObjSizeLabel.TabIndex = 7; this.selObjSizeLabel.Text = "None"; this.selObjSizeLabel.TextAlign = ContentAlignment.MiddleRight; this.textBoxSearchObjInv.Dock = DockStyle.Fill; this.textBoxSearchObjInv.Location = new Point(101, 0); this.textBoxSearchObjInv.Margin = new Padding(0); this.textBoxSearchObjInv.Name = "textBoxSearchObjInv"; this.textBoxSearchObjInv.Size = new Size(102, 20); this.textBoxSearchObjInv.TabIndex = 8; this.textBoxSearchObjInv.KeyDown += new KeyEventHandler(this.textBoxSearchObjInv_KeyDown); this.parentButton.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.parentButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.parentButton.Image = Resources.up; this.parentButton.Location = new Point(182, 17); this.parentButton.Name = "parentButton"; this.parentButton.Size = new Size(26, 26); this.parentButton.TabIndex = 8; this.parentButton.UseVisualStyleBackColor = true; this.parentButton.Click += new EventHandler(this.parentButton_Click); this.objectList.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.objectList.Entries = null; this.objectList.FirstVisibleIndex = -1; this.objectList.HideSelection = false; this.objectList.Location = new Point(3, 43); this.objectList.MultiSelect = false; this.objectList.Name = "objectList"; this.objectList.OwnerDraw = true; this.objectList.Size = new Size(203, 319); this.objectList.TabIndex = 7; this.objectList.UseCompatibleStateImageBehavior = false; this.objectList.View = View.Tile; this.objectList.SelectedIndexChanged += new EventHandler(this.objectList_SelectedIndexChanged); this.objectList.DoubleClick += new EventHandler(this.objectList_DoubleClick); this.categoryComboBox.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.categoryComboBox.Location = new Point(3, 18); this.categoryComboBox.MaximumSize = new Size(9999, 24); this.categoryComboBox.MinimumSize = new Size(0, 24); this.categoryComboBox.Name = "categoryComboBox"; this.categoryComboBox.SelectedItem = null; this.categoryComboBox.Size = new Size(176, 24); this.categoryComboBox.TabIndex = 6; this.categoryComboBox.SelectedItemChanged += new EventHandler<IndentedComboboxItemEventArgs>(this.indentedComboBox1_SelectedItemChanged); this.inventoryTree.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.inventoryTree.HideSelection = false; this.inventoryTree.ImageIndex = 0; this.inventoryTree.Location = new Point(3, 18); this.inventoryTree.Name = "inventoryTree"; this.inventoryTree.OnlyDirectories = false; this.inventoryTree.Root = null; this.inventoryTree.SelectedImageIndex = 0; this.inventoryTree.ShowRoot = false; this.inventoryTree.Size = new Size(203, 190); this.inventoryTree.TabIndex = 0; this.inventoryTree.Value = null; this.inventoryTree.Visible = false; this.inventoryTree.ValueChanged += new EventHandler(this.inventoryTree_ValueChanged); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.tableLayoutPanel1); base.Controls.Add(this.parentButton); base.Controls.Add(this.objectList); base.Controls.Add(this.categoryComboBox); base.Controls.Add(this.label1); base.Controls.Add(this.inventoryTree); base.Name = "ParamObjectInventoryTree"; base.Size = new Size(209, 425); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); this.label1 = new Label(); this.tableLayoutPanel1 = new TableLayoutPanel(); this.label4 = new Label(); this.label3 = new Label(); this.label2 = new Label(); this.selObjNameLabel = new Label(); this.selObjSizeLabel = new Label(); this.textBoxSearchObjInv = new TextBox(); this.parentButton = new NomadButton(); this.objectList = new InventoryList(this.components); this.categoryComboBox = new IndentedComboBox(); this.inventoryTree = new InventoryTree(); this.tableLayoutPanel1.SuspendLayout(); base.SuspendLayout(); this.label1.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.label1.Location = new Point(3, 2); this.label1.Name = "label1"; this.label1.Size = new Size(203, 13); this.label1.TabIndex = 1; this.label1.Text = "PARAM_OBJECT_BROWSER"; this.tableLayoutPanel1.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.tableLayoutPanel1.AutoSize = true; this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.Controls.Add(this.label4, 0, 0); this.tableLayoutPanel1.Controls.Add(this.label3, 0, 2); this.tableLayoutPanel1.Controls.Add(this.label2, 0, 1); this.tableLayoutPanel1.Controls.Add(this.selObjNameLabel, 1, 1); this.tableLayoutPanel1.Controls.Add(this.selObjSizeLabel, 1, 2); this.tableLayoutPanel1.Controls.Add(this.textBoxSearchObjInv, 1, 0); this.tableLayoutPanel1.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tableLayoutPanel1.Location = new Point(3, 365); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 23f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 16f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 16f)); this.tableLayoutPanel1.Size = new Size(203, 55); this.tableLayoutPanel1.TabIndex = 9; this.label4.Dock = DockStyle.Fill; this.label4.Location = new Point(0, 0); this.label4.Margin = new Padding(0); this.label4.Name = "label4"; this.label4.Size = new Size(101, 23); this.label4.TabIndex = 9; this.label4.Text = "PARAM_OBJECT_SEARCH"; this.label4.TextAlign = ContentAlignment.MiddleLeft; this.label3.Dock = DockStyle.Fill; this.label3.Location = new Point(0, 39); this.label3.Margin = new Padding(0); this.label3.Name = "label3"; this.label3.Size = new Size(101, 16); this.label3.TabIndex = 6; this.label3.Text = "PARAM_OBJECT_BROWSER_SIZE"; this.label3.TextAlign = ContentAlignment.MiddleLeft; this.label2.Dock = DockStyle.Fill; this.label2.Location = new Point(0, 23); this.label2.Margin = new Padding(0); this.label2.Name = "label2"; this.label2.Size = new Size(101, 16); this.label2.TabIndex = 3; this.label2.Text = "PARAM_OBJECT_BROWSER_SELECTED"; this.label2.TextAlign = ContentAlignment.MiddleLeft; this.selObjNameLabel.BorderStyle = BorderStyle.Fixed3D; this.selObjNameLabel.Dock = DockStyle.Fill; this.selObjNameLabel.Location = new Point(101, 23); this.selObjNameLabel.Margin = new Padding(0); this.selObjNameLabel.Name = "selObjNameLabel"; this.selObjNameLabel.Size = new Size(102, 16); this.selObjNameLabel.TabIndex = 5; this.selObjNameLabel.Text = "None"; this.selObjNameLabel.TextAlign = ContentAlignment.MiddleRight; this.selObjSizeLabel.BorderStyle = BorderStyle.Fixed3D; this.selObjSizeLabel.Dock = DockStyle.Fill; this.selObjSizeLabel.Location = new Point(101, 39); this.selObjSizeLabel.Margin = new Padding(0); this.selObjSizeLabel.Name = "selObjSizeLabel"; this.selObjSizeLabel.Size = new Size(102, 16); this.selObjSizeLabel.TabIndex = 7; this.selObjSizeLabel.Text = "None"; this.selObjSizeLabel.TextAlign = ContentAlignment.MiddleRight; this.textBoxSearchObjInv.Dock = DockStyle.Fill; this.textBoxSearchObjInv.Location = new Point(101, 0); this.textBoxSearchObjInv.Margin = new Padding(0); this.textBoxSearchObjInv.Name = "textBoxSearchObjInv"; this.textBoxSearchObjInv.Size = new Size(102, 20); this.textBoxSearchObjInv.TabIndex = 8; this.textBoxSearchObjInv.KeyDown += new KeyEventHandler(this.textBoxSearchObjInv_KeyDown); this.parentButton.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.parentButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.parentButton.Image = Resources.up; this.parentButton.Location = new Point(182, 17); this.parentButton.Name = "parentButton"; this.parentButton.Size = new Size(26, 26); this.parentButton.TabIndex = 8; this.parentButton.UseVisualStyleBackColor = true; this.parentButton.Click += new EventHandler(this.parentButton_Click); this.objectList.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.objectList.Entries = null; this.objectList.FirstVisibleIndex = -1; this.objectList.HideSelection = false; this.objectList.Location = new Point(3, 43); this.objectList.MultiSelect = false; this.objectList.Name = "objectList"; this.objectList.OwnerDraw = true; this.objectList.Size = new Size(203, 319); this.objectList.TabIndex = 7; this.objectList.UseCompatibleStateImageBehavior = false; this.objectList.View = View.Tile; this.objectList.SelectedIndexChanged += new EventHandler(this.objectList_SelectedIndexChanged); this.objectList.DoubleClick += new EventHandler(this.objectList_DoubleClick); this.categoryComboBox.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.categoryComboBox.Location = new Point(3, 18); this.categoryComboBox.MaximumSize = new Size(9999, 24); this.categoryComboBox.MinimumSize = new Size(0, 24); this.categoryComboBox.Name = "categoryComboBox"; this.categoryComboBox.SelectedItem = null; this.categoryComboBox.Size = new Size(176, 24); this.categoryComboBox.TabIndex = 6; this.categoryComboBox.SelectedItemChanged += new EventHandler <IndentedComboboxItemEventArgs>(this.indentedComboBox1_SelectedItemChanged); this.inventoryTree.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.inventoryTree.HideSelection = false; this.inventoryTree.ImageIndex = 0; this.inventoryTree.Location = new Point(3, 18); this.inventoryTree.Name = "inventoryTree"; this.inventoryTree.OnlyDirectories = false; this.inventoryTree.Root = null; this.inventoryTree.SelectedImageIndex = 0; this.inventoryTree.ShowRoot = false; this.inventoryTree.Size = new Size(203, 190); this.inventoryTree.TabIndex = 0; this.inventoryTree.Value = null; this.inventoryTree.Visible = false; this.inventoryTree.ValueChanged += new EventHandler(this.inventoryTree_ValueChanged); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.tableLayoutPanel1); base.Controls.Add(this.parentButton); base.Controls.Add(this.objectList); base.Controls.Add(this.categoryComboBox); base.Controls.Add(this.label1); base.Controls.Add(this.inventoryTree); base.Name = "ParamObjectInventoryTree"; base.Size = new Size(209, 425); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }