From c8d69cb7eaea14547376113831a53d50fcf36a3a Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 10 六月 2020 19:30:34 +0800 Subject: [PATCH] '登录完善' --- WindowsFormsApp1/Form1.designer.cs | 75 ++++++++++ .vs/BKZ/v16/.suo | 0 WindowsFormsApp1/Form1.cs | 20 ++ WindowsFormsApp1/Form1.resx | 123 +++++++++++++++++ WindowsFormsApp1/Form6.Designer.cs | 170 ++++++++++++++++++++++++ WindowsFormsApp1/Form6.cs | 10 + 6 files changed, 396 insertions(+), 2 deletions(-) diff --git a/.vs/BKZ/v16/.suo b/.vs/BKZ/v16/.suo index 68dfbc9..51e9d1a 100644 --- a/.vs/BKZ/v16/.suo +++ b/.vs/BKZ/v16/.suo Binary files differ diff --git a/WindowsFormsApp1/Form1.cs b/WindowsFormsApp1/Form1.cs new file mode 100644 index 0000000..e32d5a7 --- /dev/null +++ b/WindowsFormsApp1/Form1.cs @@ -0,0 +1,20 @@ +锘縰sing 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 WindowsFormsApp1 +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/WindowsFormsApp1/Form1.designer.cs b/WindowsFormsApp1/Form1.designer.cs new file mode 100644 index 0000000..20a7d70 --- /dev/null +++ b/WindowsFormsApp1/Form1.designer.cs @@ -0,0 +1,75 @@ +锘縩amespace WindowsFormsApp1 +{ + partial class Form1 + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + System.Windows.Forms.PictureBox pictureBox1; + this.button7 = new System.Windows.Forms.Button(); + pictureBox1 = new System.Windows.Forms.PictureBox(); + ((System.ComponentModel.ISupportInitialize)(pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // pictureBox1 + // + pictureBox1.Location = new System.Drawing.Point(41, 12); + pictureBox1.Name = "pictureBox1"; + pictureBox1.Size = new System.Drawing.Size(200, 200); + pictureBox1.TabIndex = 45; + pictureBox1.TabStop = false; + // + // button7 + // + this.button7.BackColor = System.Drawing.SystemColors.Window; + this.button7.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.button7.ForeColor = System.Drawing.Color.Black; + this.button7.Location = new System.Drawing.Point(51, 218); + this.button7.Name = "button7"; + this.button7.Size = new System.Drawing.Size(181, 35); + this.button7.TabIndex = 46; + this.button7.Text = "鍒锋柊浜岀淮鐮�"; + this.button7.UseVisualStyleBackColor = false; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(284, 262); + this.Controls.Add(this.button7); + this.Controls.Add(pictureBox1); + this.Name = "Form1"; + this.Text = "鎵爜杩涚兢"; + ((System.ComponentModel.ISupportInitialize)(pictureBox1)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Button button7; + } +} \ No newline at end of file diff --git a/WindowsFormsApp1/Form1.resx b/WindowsFormsApp1/Form1.resx new file mode 100644 index 0000000..6c48679 --- /dev/null +++ b/WindowsFormsApp1/Form1.resx @@ -0,0 +1,123 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <metadata name="pictureBox1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </metadata> +</root> \ No newline at end of file diff --git a/WindowsFormsApp1/Form6.Designer.cs b/WindowsFormsApp1/Form6.Designer.cs index 3ee13e1..1f6c165 100644 --- a/WindowsFormsApp1/Form6.Designer.cs +++ b/WindowsFormsApp1/Form6.Designer.cs @@ -28,19 +28,185 @@ /// </summary> private void InitializeComponent() { + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.label5 = new System.Windows.Forms.Label(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.label6 = new System.Windows.Forms.Label(); + this.button9 = new System.Windows.Forms.Button(); this.SuspendLayout(); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.label2.ForeColor = System.Drawing.Color.Black; + this.label2.Location = new System.Drawing.Point(12, 14); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(37, 20); + this.label2.TabIndex = 63; + this.label2.Text = "閭"; + // + // textBox1 + // + this.textBox1.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.textBox1.Location = new System.Drawing.Point(83, 12); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(218, 25); + this.textBox1.TabIndex = 64; + this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.label1.ForeColor = System.Drawing.Color.Black; + this.label1.Location = new System.Drawing.Point(307, 14); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(43, 20); + this.label1.TabIndex = 63; + this.label1.Text = "*蹇呭~"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.label3.ForeColor = System.Drawing.Color.Black; + this.label3.Location = new System.Drawing.Point(12, 58); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(65, 20); + this.label3.TabIndex = 63; + this.label3.Text = "浜烘満楠岃瘉"; + // + // textBox2 + // + this.textBox2.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.textBox2.Location = new System.Drawing.Point(83, 56); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(123, 25); + this.textBox2.TabIndex = 64; + this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.label4.ForeColor = System.Drawing.Color.Black; + this.label4.Location = new System.Drawing.Point(12, 102); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(51, 20); + this.label4.TabIndex = 63; + this.label4.Text = "楠岃瘉鐮�"; + // + // textBox3 + // + this.textBox3.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.textBox3.Location = new System.Drawing.Point(83, 100); + this.textBox3.Name = "textBox3"; + this.textBox3.Size = new System.Drawing.Size(123, 25); + this.textBox3.TabIndex = 64; + this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // button1 + // + this.button1.BackColor = System.Drawing.SystemColors.Window; + this.button1.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Bold); + this.button1.ForeColor = System.Drawing.Color.Black; + this.button1.Location = new System.Drawing.Point(212, 100); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(89, 25); + this.button1.TabIndex = 65; + this.button1.Text = "鍙戦�侀獙璇佺爜"; + this.button1.UseVisualStyleBackColor = false; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.label5.ForeColor = System.Drawing.Color.Black; + this.label5.Location = new System.Drawing.Point(12, 149); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(51, 20); + this.label5.TabIndex = 63; + this.label5.Text = "閭�璇风爜"; + // + // textBox4 + // + this.textBox4.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.textBox4.Location = new System.Drawing.Point(83, 147); + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(123, 25); + this.textBox4.TabIndex = 64; + this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.label6.ForeColor = System.Drawing.Color.Black; + this.label6.Location = new System.Drawing.Point(212, 149); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(37, 20); + this.label6.TabIndex = 63; + this.label6.Text = "閫夊~"; + // + // button9 + // + this.button9.BackColor = System.Drawing.SystemColors.Window; + this.button9.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F, System.Drawing.FontStyle.Bold); + this.button9.ForeColor = System.Drawing.Color.Black; + this.button9.Location = new System.Drawing.Point(83, 191); + this.button9.Name = "button9"; + this.button9.Size = new System.Drawing.Size(179, 37); + this.button9.TabIndex = 66; + this.button9.Text = "鐧诲綍"; + this.button9.UseVisualStyleBackColor = false; + this.button9.Click += new System.EventHandler(this.button9_Click); // // Form6 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); + this.ClientSize = new System.Drawing.Size(364, 242); + this.Controls.Add(this.button9); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox4); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label5); + this.Controls.Add(this.label4); + this.Controls.Add(this.label3); + this.Controls.Add(this.label6); + this.Controls.Add(this.label1); + this.Controls.Add(this.label2); this.Name = "Form6"; - this.Text = "娉ㄥ唽鐧诲綍"; + this.Text = "鐧诲綍"; + this.Load += new System.EventHandler(this.Form6_Load); this.ResumeLayout(false); + this.PerformLayout(); } #endregion + + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox textBox4; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Button button9; } } \ No newline at end of file diff --git a/WindowsFormsApp1/Form6.cs b/WindowsFormsApp1/Form6.cs index 3fc111a..d5a4db6 100644 --- a/WindowsFormsApp1/Form6.cs +++ b/WindowsFormsApp1/Form6.cs @@ -16,5 +16,15 @@ { InitializeComponent(); } + + private void Form6_Load(object sender, EventArgs e) + { + + } + + private void button9_Click(object sender, EventArgs e) + { + + } } } -- Gitblit v1.8.0