Пофиксил изменение размеров компонента TreeView

This commit is contained in:
Никита Потапов 2024-11-27 20:26:12 +04:00
parent 250ec241b1
commit ab42ded0da

View File

@ -33,19 +33,22 @@
// //
// treeView // treeView
// //
treeView.Location = new Point(22, 17); treeView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
treeView.Location = new Point(25, 23);
treeView.Margin = new Padding(3, 4, 3, 4);
treeView.Name = "treeView"; treeView.Name = "treeView";
treeView.Size = new Size(188, 285); treeView.Size = new Size(624, 466);
treeView.TabIndex = 0; treeView.TabIndex = 0;
// //
// UserControlTreeView // UserControlTreeView
// //
AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
BackColor = SystemColors.ActiveCaption; BackColor = SystemColors.ActiveCaption;
Controls.Add(treeView); Controls.Add(treeView);
Margin = new Padding(3, 4, 3, 4);
Name = "UserControlTreeView"; Name = "UserControlTreeView";
Size = new Size(232, 335); Size = new Size(675, 515);
ResumeLayout(false); ResumeLayout(false);
} }