diff --git a/contingent_report_desktop/App_contingent_university/App_contingent_university.csproj b/contingent_report_desktop/App_contingent_university/App_contingent_university.csproj index 6cf5171..654ff32 100644 --- a/contingent_report_desktop/App_contingent_university/App_contingent_university.csproj +++ b/contingent_report_desktop/App_contingent_university/App_contingent_university.csproj @@ -46,8 +46,17 @@ + + Form + + + FormMain.cs + + + FormMain.cs + ResXFileCodeGenerator Resources.Designer.cs @@ -70,5 +79,6 @@ + \ No newline at end of file diff --git a/contingent_report_desktop/App_contingent_university/Forms/FormMain.Designer.cs b/contingent_report_desktop/App_contingent_university/Forms/FormMain.Designer.cs new file mode 100644 index 0000000..cd79f2a --- /dev/null +++ b/contingent_report_desktop/App_contingent_university/Forms/FormMain.Designer.cs @@ -0,0 +1,87 @@ +namespace App_contingent_university.Forms +{ + partial class FormMain + { + /// + /// 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 Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabPage1 = new System.Windows.Forms.TabPage(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.tabControl1.SuspendLayout(); + this.SuspendLayout(); + // + // tabControl1 + // + this.tabControl1.Controls.Add(this.tabPage1); + this.tabControl1.Controls.Add(this.tabPage2); + this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControl1.Location = new System.Drawing.Point(0, 0); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(1082, 601); + this.tabControl1.TabIndex = 0; + // + // tabPage1 + // + this.tabPage1.Location = new System.Drawing.Point(4, 25); + this.tabPage1.Name = "tabPage1"; + this.tabPage1.Padding = new System.Windows.Forms.Padding(3); + this.tabPage1.Size = new System.Drawing.Size(1074, 572); + this.tabPage1.TabIndex = 0; + this.tabPage1.Text = "tabPage1"; + this.tabPage1.UseVisualStyleBackColor = true; + // + // tabPage2 + // + this.tabPage2.Location = new System.Drawing.Point(4, 25); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(1074, 572); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "tabPage2"; + this.tabPage2.UseVisualStyleBackColor = true; + // + // FormMain + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1082, 601); + this.Controls.Add(this.tabControl1); + this.Name = "FormMain"; + this.Text = "FormMain"; + this.tabControl1.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.TabPage tabPage1; + private System.Windows.Forms.TabPage tabPage2; + } +} \ No newline at end of file diff --git a/contingent_report_desktop/App_contingent_university/Forms/FormMain.cs b/contingent_report_desktop/App_contingent_university/Forms/FormMain.cs new file mode 100644 index 0000000..935c1e9 --- /dev/null +++ b/contingent_report_desktop/App_contingent_university/Forms/FormMain.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace App_contingent_university.Forms +{ + public partial class FormMain : Form + { + public FormMain() + { + InitializeComponent(); + } + } +} diff --git a/contingent_report_desktop/App_contingent_university/Forms/FormMain.resx b/contingent_report_desktop/App_contingent_university/Forms/FormMain.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/contingent_report_desktop/App_contingent_university/Forms/FormMain.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 diff --git a/contingent_report_desktop/App_contingent_university/Program.cs b/contingent_report_desktop/App_contingent_university/Program.cs index 1927eb8..b673718 100644 --- a/contingent_report_desktop/App_contingent_university/Program.cs +++ b/contingent_report_desktop/App_contingent_university/Program.cs @@ -1,4 +1,5 @@ -using System; +using App_contingent_university.Forms; +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; @@ -16,7 +17,7 @@ namespace App_contingent_university { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); + Application.Run(new FormMain()); } } }