C#课堂练习

时间:2016-02-03 00:24:34
【文件属性】:

文件名称:C#课堂练习

文件大小:1024KB

文件格式:LDF

更新时间:2016-02-03 00:24:34

MySchool

MySchool namespace MySchool { partial class FrmLogin { ///

/// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmLogin)); this.btnLogin = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.txtUserName = new System.Windows.Forms.TextBox(); this.txtPwd = new System.Windows.Forms.TextBox(); this.cboLoginType = new System.Windows.Forms.ComboBox(); this.lblLoginId = new System.Windows.Forms.Label(); this.lblPwd = new System.Windows.Forms.Label(); this.lblLoginType = new System.Windows.Forms.Label(); this.SuspendLayout(); // // btnLogin // this.btnLogin.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.btnLogin.BackColor = System.Drawing.Color.Transparent; this.btnLogin.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnLogin.BackgroundImage"))); this.btnLogin.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.btnLogin.Cursor = System.Windows.Forms.Cursors.Hand; this.btnLogin.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.btnLogin.FlatAppearance.BorderSize = 0; this.btnLogin.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnLogin.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnLogin.Location = new System.Drawing.Point(181, 299); this.btnLogin.Name = "btnLogin"; this.btnLogin.Size = new System.Drawing.Size(84, 21); this.btnLogin.TabIndex = 3; this.btnLogin.Text = "登 录"; this.btnLogin.UseVisualStyleBackColor = false; // // btnCancel // this.btnCancel.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnCancel.BackgroundImage"))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.btnCancel.FlatAppearance.BorderSize = 0; this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCancel.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnCancel.Location = new System.Drawing.Point(283, 299); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(84, 21); this.btnCancel.TabIndex = 4; this.btnCancel.Text = "取 消"; this.btnCancel.UseVisualStyleBackColor = true; // // txtUserName // this.txtUserName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtUserName.Location = new System.Drawing.Point(254, 190); this.txtUserName.Name = "txtUserName"; this.txtUserName.Size = new System.Drawing.Size(167, 23); this.txtUserName.TabIndex = 0; // // txtPwd // this.txtPwd.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtPwd.Location = new System.Drawing.Point(254, 227); this.txtPwd.Name = "txtPwd"; this.txtPwd.Size = new System.Drawing.Size(167, 23); this.txtPwd.TabIndex = 1; this.txtPwd.UseSystemPasswordChar = true; // // cboLoginType // this.cboLoginType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboLoginType.Items.AddRange(new object[] { "系统管理员", "学生"}); this.cboLoginType.Location = new System.Drawing.Point(254, 264); this.cboLoginType.Name = "cboLoginType"; this.cboLoginType.Size = new System.Drawing.Size(167, 22); this.cboLoginType.TabIndex = 2; // // lblLoginId // this.lblLoginId.AutoSize = true; this.lblLoginId.BackColor = System.Drawing.Color.Transparent; this.lblLoginId.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblLoginId.Location = new System.Drawing.Point(181, 194); this.lblLoginId.Name = "lblLoginId"; this.lblLoginId.Size = new System.Drawing.Size(67, 14); this.lblLoginId.TabIndex = 5; this.lblLoginId.Text = "用户名:"; // // lblPwd // this.lblPwd.AutoSize = true; this.lblPwd.BackColor = System.Drawing.Color.Transparent; this.lblPwd.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblPwd.Location = new System.Drawing.Point(181, 231); this.lblPwd.Name = "lblPwd"; this.lblPwd.Size = new System.Drawing.Size(68, 14); this.lblPwd.TabIndex = 6; this.lblPwd.Text = "密 码:"; // // lblLoginType // this.lblLoginType.AutoSize = true; this.lblLoginType.BackColor = System.Drawing.Color.Transparent; this.lblLoginType.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblLoginType.Location = new System.Drawing.Point(181, 268); this.lblLoginType.Name = "lblLoginType"; this.lblLoginType.Size = new System.Drawing.Size(82, 14); this.lblLoginType.TabIndex = 7; this.lblLoginType.Text = "登录类型:"; // // FrmLogin // this.AcceptButton = this.btnLogin; this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage"))); this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(506, 372); this.Controls.Add(this.cboLoginType); this.Controls.Add(this.lblLoginType); this.Controls.Add(this.lblPwd); this.Controls.Add(this.lblLoginId); this.Controls.Add(this.txtPwd); this.Controls.Add(this.txtUserName); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnLogin); this.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "FrmLogin"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "登录"; this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Button btnLogin; private System.Windows.Forms.Button btnCancel; private System.Windows.Forms.TextBox txtUserName; private System.Windows.Forms.TextBox txtPwd; private System.Windows.Forms.ComboBox cboLoginType; private System.Windows.Forms.Label lblLoginId; private System.Windows.Forms.Label lblPwd; private System.Windows.Forms.Label lblLoginType; } }


网友评论