From 715159a6d9712c591f2d3f39766d2989c8c4c9cd Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 9 Jul 2022 15:06:30 +0200 Subject: [PATCH] Added the main screen user component --- .../UI WinForms/Components/Main.Designer.cs | 114 ++++++++++++++++++ I18N Commander/UI WinForms/Components/Main.cs | 9 ++ .../UI WinForms/Components/Main.resx | 60 +++++++++ 3 files changed, 183 insertions(+) create mode 100644 I18N Commander/UI WinForms/Components/Main.Designer.cs create mode 100644 I18N Commander/UI WinForms/Components/Main.cs create mode 100644 I18N Commander/UI WinForms/Components/Main.resx diff --git a/I18N Commander/UI WinForms/Components/Main.Designer.cs b/I18N Commander/UI WinForms/Components/Main.Designer.cs new file mode 100644 index 0000000..6e3aef1 --- /dev/null +++ b/I18N Commander/UI WinForms/Components/Main.Designer.cs @@ -0,0 +1,114 @@ +namespace UI_WinForms.Components +{ + partial class Main + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.tableLayout = new System.Windows.Forms.TableLayoutPanel(); + this.flowLayoutBottom = new System.Windows.Forms.FlowLayoutPanel(); + this.splitContainer = new System.Windows.Forms.SplitContainer(); + this.sectionTree = new UI_WinForms.Components.SectionTree(); + this.tableLayout.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit(); + this.splitContainer.Panel1.SuspendLayout(); + this.splitContainer.SuspendLayout(); + this.SuspendLayout(); + // + // tableLayout + // + this.tableLayout.ColumnCount = 1; + this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayout.Controls.Add(this.flowLayoutBottom, 0, 1); + this.tableLayout.Controls.Add(this.splitContainer, 0, 0); + this.tableLayout.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayout.Location = new System.Drawing.Point(0, 0); + this.tableLayout.Name = "tableLayout"; + this.tableLayout.RowCount = 2; + this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 66F)); + this.tableLayout.Size = new System.Drawing.Size(965, 603); + this.tableLayout.TabIndex = 0; + // + // flowLayoutBottom + // + this.flowLayoutBottom.Dock = System.Windows.Forms.DockStyle.Fill; + this.flowLayoutBottom.Location = new System.Drawing.Point(0, 537); + this.flowLayoutBottom.Margin = new System.Windows.Forms.Padding(0); + this.flowLayoutBottom.Name = "flowLayoutBottom"; + this.flowLayoutBottom.Size = new System.Drawing.Size(965, 66); + this.flowLayoutBottom.TabIndex = 0; + // + // splitContainer + // + this.splitContainer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; + this.splitContainer.Location = new System.Drawing.Point(3, 3); + this.splitContainer.Name = "splitContainer"; + // + // splitContainer.Panel1 + // + this.splitContainer.Panel1.Controls.Add(this.sectionTree); + this.splitContainer.Panel1MinSize = 300; + this.splitContainer.Size = new System.Drawing.Size(959, 531); + this.splitContainer.SplitterDistance = 319; + this.splitContainer.TabIndex = 1; + // + // sectionTree + // + this.sectionTree.Dock = System.Windows.Forms.DockStyle.Fill; + this.sectionTree.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + this.sectionTree.Location = new System.Drawing.Point(0, 0); + this.sectionTree.Name = "sectionTree"; + this.sectionTree.Size = new System.Drawing.Size(317, 529); + this.sectionTree.TabIndex = 0; + // + // Main + // + this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.Controls.Add(this.tableLayout); + this.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + this.Name = "Main"; + this.Size = new System.Drawing.Size(965, 603); + this.tableLayout.ResumeLayout(false); + this.splitContainer.Panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit(); + this.splitContainer.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private TableLayoutPanel tableLayout; + private FlowLayoutPanel flowLayoutBottom; + private SplitContainer splitContainer; + private SectionTree sectionTree; + } +} diff --git a/I18N Commander/UI WinForms/Components/Main.cs b/I18N Commander/UI WinForms/Components/Main.cs new file mode 100644 index 0000000..a25e38f --- /dev/null +++ b/I18N Commander/UI WinForms/Components/Main.cs @@ -0,0 +1,9 @@ +namespace UI_WinForms.Components; + +public partial class Main : UserControl +{ + public Main() + { + this.InitializeComponent(); + } +} \ No newline at end of file diff --git a/I18N Commander/UI WinForms/Components/Main.resx b/I18N Commander/UI WinForms/Components/Main.resx new file mode 100644 index 0000000..b5ae26c --- /dev/null +++ b/I18N Commander/UI WinForms/Components/Main.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file