diff --git a/C969Project.sln b/C969Project.sln new file mode 100644 index 0000000..644e4c2 --- /dev/null +++ b/C969Project.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.10.35122.118 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "C969Project", "C969Project\C969Project.csproj", "{2A7C80D5-939E-458F-A311-7925BFCB43F3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2A7C80D5-939E-458F-A311-7925BFCB43F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2A7C80D5-939E-458F-A311-7925BFCB43F3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2A7C80D5-939E-458F-A311-7925BFCB43F3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2A7C80D5-939E-458F-A311-7925BFCB43F3}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {18BC03F4-DEBC-4E3D-A0BE-89C8BB6A0155} + EndGlobalSection +EndGlobal diff --git a/C969Project/C969Project.csproj b/C969Project/C969Project.csproj new file mode 100644 index 0000000..663fdb8 --- /dev/null +++ b/C969Project/C969Project.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net8.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/C969Project/Form1.Designer.cs b/C969Project/Form1.Designer.cs new file mode 100644 index 0000000..40928c2 --- /dev/null +++ b/C969Project/Form1.Designer.cs @@ -0,0 +1,45 @@ +namespace C969Project +{ + partial class Form1 + { + /// + /// 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() + { + SuspendLayout(); + // + // Form1 + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(800, 450); + Name = "Form1"; + Text = "Form1"; + ResumeLayout(false); + } + + #endregion + } +} diff --git a/C969Project/Form1.cs b/C969Project/Form1.cs new file mode 100644 index 0000000..7009b89 --- /dev/null +++ b/C969Project/Form1.cs @@ -0,0 +1,10 @@ +namespace C969Project +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/C969Project/Form1.resx b/C969Project/Form1.resx new file mode 100644 index 0000000..af32865 --- /dev/null +++ b/C969Project/Form1.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/C969Project/Login.Designer.cs b/C969Project/Login.Designer.cs new file mode 100644 index 0000000..8f87336 --- /dev/null +++ b/C969Project/Login.Designer.cs @@ -0,0 +1,110 @@ +namespace C969Project +{ + partial class Login + { + /// + /// 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() + { + panel1 = new Panel(); + label1 = new Label(); + usernameTextBox = new TextBox(); + passwordTextBox = new TextBox(); + button1 = new Button(); + panel1.SuspendLayout(); + SuspendLayout(); + // + // panel1 + // + panel1.Anchor = AnchorStyles.None; + panel1.Controls.Add(label1); + panel1.Controls.Add(usernameTextBox); + panel1.Controls.Add(passwordTextBox); + panel1.Controls.Add(button1); + panel1.Location = new Point(252, 68); + panel1.Name = "panel1"; + panel1.Size = new Size(300, 300); + panel1.TabIndex = 0; + // + // label1 + // + label1.AutoSize = true; + label1.Font = new Font("Segoe UI", 12F); + label1.Location = new Point(133, 49); + label1.Name = "label1"; + label1.Size = new Size(49, 21); + label1.TabIndex = 3; + label1.Text = "Login"; + // + // usernameTextBox + // + usernameTextBox.AccessibleName = "username"; + usernameTextBox.Location = new Point(72, 104); + usernameTextBox.Name = "usernameTextBox"; + usernameTextBox.PlaceholderText = "Username"; + usernameTextBox.Size = new Size(173, 23); + usernameTextBox.TabIndex = 2; + // + // passwordTextBox + // + passwordTextBox.Location = new Point(72, 144); + passwordTextBox.Name = "passwordTextBox"; + passwordTextBox.PasswordChar = '*'; + passwordTextBox.PlaceholderText = "Password"; + passwordTextBox.Size = new Size(173, 23); + passwordTextBox.TabIndex = 1; + passwordTextBox.UseSystemPasswordChar = true; + // + // button1 + // + button1.Location = new Point(72, 183); + button1.Name = "button1"; + button1.Size = new Size(173, 23); + button1.TabIndex = 0; + button1.Text = "Login"; + button1.UseVisualStyleBackColor = true; + // + // Login + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(800, 450); + Controls.Add(panel1); + Name = "Login"; + Text = "Login"; + panel1.ResumeLayout(false); + panel1.PerformLayout(); + ResumeLayout(false); + } + + #endregion + + private Panel panel1; + private Label label1; + private TextBox usernameTextBox; + private TextBox passwordTextBox; + private Button button1; + } +} \ No newline at end of file diff --git a/C969Project/Login.cs b/C969Project/Login.cs new file mode 100644 index 0000000..3370c10 --- /dev/null +++ b/C969Project/Login.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 C969Project +{ + public partial class Login : Form + { + public Login() + { + InitializeComponent(); + } + } +} diff --git a/C969Project/Login.resx b/C969Project/Login.resx new file mode 100644 index 0000000..39e2ec9 --- /dev/null +++ b/C969Project/Login.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + True + + \ No newline at end of file diff --git a/C969Project/Program.cs b/C969Project/Program.cs new file mode 100644 index 0000000..e9e3339 --- /dev/null +++ b/C969Project/Program.cs @@ -0,0 +1,17 @@ +namespace C969Project +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + // To customize application configuration such as set high DPI settings or default font, + // see https://aka.ms/applicationconfiguration. + ApplicationConfiguration.Initialize(); + Application.Run(new Login()); + } + } +} \ No newline at end of file