Работа над новым отображением сущностей

This commit is contained in:
2025-04-28 19:23:40 +04:00
parent 06985b99be
commit 0da1424477
11 changed files with 977 additions and 185 deletions
+21 -3
View File
@@ -28,17 +28,32 @@ partial class TestForm
/// </summary>
private void InitializeComponent()
{
RandomButton = new Button();
entityTreeViewerControl1 = new EntityTreeViewerControl();
SuspendLayout();
//
// RandomButton
//
RandomButton.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
RandomButton.Location = new Point(12, 12);
RandomButton.Name = "RandomButton";
RandomButton.Size = new Size(426, 23);
RandomButton.TabIndex = 0;
RandomButton.Text = "Random";
RandomButton.UseVisualStyleBackColor = true;
RandomButton.Click += RandomButton_Click;
//
// entityTreeViewerControl1
//
entityTreeViewerControl1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
entityTreeViewerControl1.DepthSize = 20;
entityTreeViewerControl1.EntityView = null;
entityTreeViewerControl1.Location = new Point(12, 12);
entityTreeViewerControl1.Font = new Font("Consolas", 9F);
entityTreeViewerControl1.ItemHeight = 20;
entityTreeViewerControl1.Location = new Point(12, 38);
entityTreeViewerControl1.Name = "entityTreeViewerControl1";
entityTreeViewerControl1.Size = new Size(426, 632);
entityTreeViewerControl1.TabIndex = 0;
entityTreeViewerControl1.Size = new Size(426, 606);
entityTreeViewerControl1.TabIndex = 1;
//
// TestForm
//
@@ -46,12 +61,15 @@ partial class TestForm
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(450, 656);
Controls.Add(entityTreeViewerControl1);
Controls.Add(RandomButton);
Name = "TestForm";
Text = "TestForm";
Load += TestForm_Load;
ResumeLayout(false);
}
#endregion
private Button RandomButton;
private EntityTreeViewerControl entityTreeViewerControl1;
}