init lserp cs 5.0
This commit is contained in:
+208
@@ -0,0 +1,208 @@
|
||||
namespace Lskj.Main.sub
|
||||
{
|
||||
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 searcherPropertyCollector1 = new ControlLib.inh.SearcherPropertyCollector();
|
||||
ControlLib.inh.TFieldPropertyData tFieldPropertyData1 = new ControlLib.inh.TFieldPropertyData();
|
||||
ControlLib.inh.TFieldPropertyData tFieldPropertyData2 = new ControlLib.inh.TFieldPropertyData();
|
||||
ControlLib.inh.TFieldPropertyData tFieldPropertyData3 = new ControlLib.inh.TFieldPropertyData();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmRelogin));
|
||||
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.chkLogin = new DevExpress.XtraEditors.CheckEdit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.chkLogin.Properties)).BeginInit();
|
||||
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系统";
|
||||
this.label1.Visible = false;
|
||||
//
|
||||
// txtUserName
|
||||
//
|
||||
this.txtUserName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtUserName.IsEmpet = false;
|
||||
this.txtUserName.Location = new System.Drawing.Point(105, 30);
|
||||
this.txtUserName.MaxLength = 50;
|
||||
this.txtUserName.Name = "txtUserName";
|
||||
this.txtUserName.SearchControlPanel = null;
|
||||
searcherPropertyCollector1.ConvertToChineseSpell = true;
|
||||
tFieldPropertyData1.FieldCaption = "ID";
|
||||
tFieldPropertyData1.FieldName = "EmployeeId";
|
||||
tFieldPropertyData1.FieldWidth = 2000;
|
||||
tFieldPropertyData1.ShowColumn = true;
|
||||
tFieldPropertyData2.FieldCaption = "工号";
|
||||
tFieldPropertyData2.FieldName = "LoginAccount";
|
||||
tFieldPropertyData2.FieldWidth = 2000;
|
||||
tFieldPropertyData2.ShowColumn = true;
|
||||
tFieldPropertyData3.FieldCaption = "姓名";
|
||||
tFieldPropertyData3.FieldName = "EmployeeName";
|
||||
tFieldPropertyData3.FieldWidth = 2000;
|
||||
tFieldPropertyData3.ShowColumn = true;
|
||||
searcherPropertyCollector1.FieldPropertyList = new ControlLib.inh.TFieldPropertyData[] {
|
||||
tFieldPropertyData1,
|
||||
tFieldPropertyData2,
|
||||
tFieldPropertyData3};
|
||||
searcherPropertyCollector1.InitSQL = null;
|
||||
searcherPropertyCollector1.KeyField = "EmployeeId";
|
||||
searcherPropertyCollector1.QueryField = "EmployeeName";
|
||||
searcherPropertyCollector1.QuerySQL = "select EmployeeId,LoginAccount,EmployeeName from P_EmployeeTab WHERE sign=0 and U" +
|
||||
"seFlag=1";
|
||||
searcherPropertyCollector1.RemarkField = "";
|
||||
searcherPropertyCollector1.ReturnMaxCount = 2000;
|
||||
searcherPropertyCollector1.ReturnValueField = "EmployeeId";
|
||||
searcherPropertyCollector1.SearchMatchWay = ControlLib.inh.TSearchMatchWay.swFuzzy;
|
||||
searcherPropertyCollector1.ShowFormHeight = 230;
|
||||
searcherPropertyCollector1.ShowFormWidth = 230;
|
||||
searcherPropertyCollector1.SQL = "select top 2000 employeeid,loginaccount,employeename from p_employeetab where si" +
|
||||
"gn=0 and useflag=1";
|
||||
this.txtUserName.searcherPropertyCollector = searcherPropertyCollector1;
|
||||
this.txtUserName.Size = new System.Drawing.Size(206, 21);
|
||||
this.txtUserName.TabIndex = 16;
|
||||
//
|
||||
// chkLogin
|
||||
//
|
||||
this.chkLogin.Location = new System.Drawing.Point(103, 92);
|
||||
this.chkLogin.Name = "chkLogin";
|
||||
this.chkLogin.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.chkLogin.Properties.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
|
||||
this.chkLogin.Properties.Appearance.Options.UseFont = true;
|
||||
this.chkLogin.Properties.Appearance.Options.UseForeColor = true;
|
||||
this.chkLogin.Properties.Caption = "强制登录";
|
||||
this.chkLogin.Size = new System.Drawing.Size(85, 25);
|
||||
this.chkLogin.TabIndex = 18;
|
||||
//
|
||||
// FrmRelogin
|
||||
//
|
||||
this.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Appearance.Options.UseFont = true;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(351, 196);
|
||||
this.Controls.Add(this.chkLogin);
|
||||
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.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.LookAndFeel.SkinName = "Office 2010 Blue";
|
||||
this.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "FrmRelogin";
|
||||
this.Text = "系统登陆";
|
||||
this.Load += new System.EventHandler(this.FrmRelogin_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.chkLogin.Properties)).EndInit();
|
||||
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;
|
||||
private DevExpress.XtraEditors.CheckEdit chkLogin;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user