173 lines
8.4 KiB
C#
173 lines
8.4 KiB
C#
namespace ERPClient
|
|
{
|
|
partial class FrmRelogin
|
|
{
|
|
/// <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()
|
|
{
|
|
ControlLib.inh.SearcherPropertyCollector searcherPropertyCollector2 = new ControlLib.inh.SearcherPropertyCollector();
|
|
ControlLib.inh.TFieldPropertyData tFieldPropertyData3 = new ControlLib.inh.TFieldPropertyData();
|
|
ControlLib.inh.TFieldPropertyData tFieldPropertyData4 = new ControlLib.inh.TFieldPropertyData();
|
|
this.btnQuit = new System.Windows.Forms.Button();
|
|
this.btnLogin = new System.Windows.Forms.Button();
|
|
this.txtPassword = new System.Windows.Forms.TextBox();
|
|
this.lblPwd = new System.Windows.Forms.Label();
|
|
this.lblName = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.txtUserName = new ControlLib.inh.AutoSearcher();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnQuit
|
|
//
|
|
this.btnQuit.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnQuit.Location = new System.Drawing.Point(236, 152);
|
|
this.btnQuit.Name = "btnQuit";
|
|
this.btnQuit.Size = new System.Drawing.Size(75, 23);
|
|
this.btnQuit.TabIndex = 14;
|
|
this.btnQuit.Text = "退出(&Q)";
|
|
this.btnQuit.UseVisualStyleBackColor = true;
|
|
this.btnQuit.Click += new System.EventHandler(this.btnQuit_Click);
|
|
//
|
|
// btnLogin
|
|
//
|
|
this.btnLogin.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnLogin.Location = new System.Drawing.Point(131, 152);
|
|
this.btnLogin.Name = "btnLogin";
|
|
this.btnLogin.Size = new System.Drawing.Size(94, 23);
|
|
this.btnLogin.TabIndex = 13;
|
|
this.btnLogin.Text = "重新登陆(&L)";
|
|
this.btnLogin.UseVisualStyleBackColor = true;
|
|
this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click);
|
|
//
|
|
// txtPassword
|
|
//
|
|
this.txtPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.txtPassword.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtPassword.Location = new System.Drawing.Point(105, 65);
|
|
this.txtPassword.MaxLength = 50;
|
|
this.txtPassword.Name = "txtPassword";
|
|
this.txtPassword.PasswordChar = '*';
|
|
this.txtPassword.Size = new System.Drawing.Size(206, 23);
|
|
this.txtPassword.TabIndex = 12;
|
|
//
|
|
// lblPwd
|
|
//
|
|
this.lblPwd.AutoSize = true;
|
|
this.lblPwd.BackColor = System.Drawing.Color.Transparent;
|
|
this.lblPwd.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblPwd.Location = new System.Drawing.Point(29, 68);
|
|
this.lblPwd.Name = "lblPwd";
|
|
this.lblPwd.Size = new System.Drawing.Size(63, 14);
|
|
this.lblPwd.TabIndex = 11;
|
|
this.lblPwd.Text = "登陆密码";
|
|
//
|
|
// lblName
|
|
//
|
|
this.lblName.AutoSize = true;
|
|
this.lblName.BackColor = System.Drawing.Color.Transparent;
|
|
this.lblName.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblName.Location = new System.Drawing.Point(29, 31);
|
|
this.lblName.Name = "lblName";
|
|
this.lblName.Size = new System.Drawing.Size(63, 14);
|
|
this.lblName.TabIndex = 9;
|
|
this.lblName.Text = "用户名称";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.ForeColor = System.Drawing.Color.Brown;
|
|
this.label1.Location = new System.Drawing.Point(30, 122);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(167, 12);
|
|
this.label1.TabIndex = 15;
|
|
this.label1.Text = "注意:点退出按钮退出ERP系统";
|
|
//
|
|
// txtUserName
|
|
//
|
|
this.txtUserName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.txtUserName.Location = new System.Drawing.Point(105, 30);
|
|
this.txtUserName.MaxLength = 50;
|
|
this.txtUserName.Name = "txtUserName";
|
|
searcherPropertyCollector2.ConvertToChineseSpell = true;
|
|
tFieldPropertyData3.FieldCaption = "用户id";
|
|
tFieldPropertyData3.FieldName = "EmployeeId";
|
|
tFieldPropertyData3.FieldWidth = 50;
|
|
tFieldPropertyData3.ShowColumn = true;
|
|
tFieldPropertyData4.FieldCaption = "用户名称";
|
|
tFieldPropertyData4.FieldName = "EmployeeName";
|
|
tFieldPropertyData4.FieldWidth = 200;
|
|
tFieldPropertyData4.ShowColumn = true;
|
|
searcherPropertyCollector2.FieldPropertyList = new ControlLib.inh.TFieldPropertyData[] {
|
|
tFieldPropertyData3,
|
|
tFieldPropertyData4};
|
|
searcherPropertyCollector2.KeyField = "EmployeeId";
|
|
searcherPropertyCollector2.QueryField = "EmployeeName";
|
|
searcherPropertyCollector2.QuerySQL = "select EmployeeId,EmployeeName from P_EmployeeTab WHERE sign=0 and UseFlag=1";
|
|
searcherPropertyCollector2.ReturnMaxCount = 2000;
|
|
searcherPropertyCollector2.ReturnValueField = "EmployeeId";
|
|
searcherPropertyCollector2.SearchMatchWay = ControlLib.inh.TSearchMatchWay.swFuzzy;
|
|
searcherPropertyCollector2.ShowFormHeight = 230;
|
|
searcherPropertyCollector2.ShowFormWidth = 230;
|
|
searcherPropertyCollector2.SQL = "select top 2000 employeeid,employeename from p_employeetab where sign=0 and useflag" +
|
|
"=1";
|
|
this.txtUserName.searcherPropertyCollector = searcherPropertyCollector2;
|
|
this.txtUserName.Size = new System.Drawing.Size(206, 21);
|
|
this.txtUserName.TabIndex = 16;
|
|
//
|
|
// FrmRelogin
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(351, 196);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.txtUserName);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.btnQuit);
|
|
this.Controls.Add(this.btnLogin);
|
|
this.Controls.Add(this.txtPassword);
|
|
this.Controls.Add(this.lblPwd);
|
|
this.Controls.Add(this.lblName);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.Name = "FrmRelogin";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "系统登陆";
|
|
this.Load += new System.EventHandler(this.FrmRelogin_Load);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button btnQuit;
|
|
private System.Windows.Forms.Button btnLogin;
|
|
private System.Windows.Forms.TextBox txtPassword;
|
|
private System.Windows.Forms.Label lblPwd;
|
|
private System.Windows.Forms.Label lblName;
|
|
private System.Windows.Forms.Label label1;
|
|
private ControlLib.inh.AutoSearcher txtUserName;
|
|
}
|
|
} |