Changed to use the main user component

This commit is contained in:
Thorsten Sommer 2022-07-09 15:07:51 +02:00
parent 2f77db1a16
commit 85431a7ec3
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -28,13 +28,24 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.mainComponent = new UI_WinForms.Components.Main();
this.SuspendLayout(); 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 // Main
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F); this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; 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.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.Name = "Main"; this.Name = "Main";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
@ -44,5 +55,7 @@
} }
#endregion #endregion
private Components.Main mainComponent;
} }
} }