Changed to use the main user component

This commit is contained in:
tsommer committed 2022-07-09 15:07:51 +02:00
1 parent 2f77db1a16
commit 85431a7ec3
1 file changed
+14 -1
+14 -1
View File
@@ -28,13 +28,24 @@
/// </summary>
private void InitializeComponent()
{
this.mainComponent = new UI_WinForms.Components.Main();
this.SuspendLayout();
//
// mainComponent
//
this.mainComponent.Dock = System.Windows.Forms.DockStyle.Fill;
this.mainComponent.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.mainComponent.Location = new System.Drawing.Point(0, 0);
this.mainComponent.Name = "mainComponent";
this.mainComponent.Size = new System.Drawing.Size(1071, 755);
this.mainComponent.TabIndex = 0;
//
// Main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(800, 450);
this.ClientSize = new System.Drawing.Size(1071, 755);
this.Controls.Add(this.mainComponent);
this.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.Name = "Main";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
@@ -44,5 +55,7 @@
}
#endregion
private Components.Main mainComponent;
}
}