子账号管理相关内容
This commit is contained in:
1 parent
9fe9fa2610
commit
b48f320099
101 files changed
+3171
-572
No files matched your search
Generated
+16
-15
@@ -33,7 +33,7 @@
|
||||
this.txtMobile = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.password = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.lblResetPassword = new DevComponents.DotNetBar.LabelX();
|
||||
this.remember = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.chkRemember = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.autoLogin = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.closePanel = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -133,24 +133,25 @@
|
||||
this.lblResetPassword.Size = new System.Drawing.Size(56, 20);
|
||||
this.lblResetPassword.TabIndex = 6;
|
||||
this.lblResetPassword.Text = "找回密码";
|
||||
this.lblResetPassword.Visible = false;
|
||||
this.lblResetPassword.Click += new System.EventHandler(this.lblResetPassword_Click);
|
||||
//
|
||||
// remember
|
||||
// chkRemember
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.remember.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.remember.FocusCuesEnabled = false;
|
||||
this.remember.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.remember.Location = new System.Drawing.Point(134, 215);
|
||||
this.remember.Name = "remember";
|
||||
this.remember.Size = new System.Drawing.Size(80, 22);
|
||||
this.remember.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.remember.TabIndex = 7;
|
||||
this.remember.Text = "记住密码";
|
||||
this.remember.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(101)))), ((int)(((byte)(101)))));
|
||||
this.remember.CheckedChanged += new System.EventHandler(this.remember_CheckedChanged);
|
||||
this.chkRemember.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.chkRemember.FocusCuesEnabled = false;
|
||||
this.chkRemember.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.chkRemember.Location = new System.Drawing.Point(134, 215);
|
||||
this.chkRemember.Name = "chkRemember";
|
||||
this.chkRemember.Size = new System.Drawing.Size(80, 22);
|
||||
this.chkRemember.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.chkRemember.TabIndex = 7;
|
||||
this.chkRemember.Text = "记住密码";
|
||||
this.chkRemember.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(101)))), ((int)(((byte)(101)))));
|
||||
this.chkRemember.CheckedChanged += new System.EventHandler(this.remember_CheckedChanged);
|
||||
//
|
||||
// autoLogin
|
||||
//
|
||||
@@ -383,7 +384,7 @@
|
||||
this.Controls.Add(this.panelEx2);
|
||||
this.Controls.Add(this.panelEx1);
|
||||
this.Controls.Add(this.autoLogin);
|
||||
this.Controls.Add(this.remember);
|
||||
this.Controls.Add(this.chkRemember);
|
||||
this.Controls.Add(this.lblResetPassword);
|
||||
this.Controls.Add(this.loginPanel);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
@@ -407,7 +408,7 @@
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txtMobile;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX password;
|
||||
private DevComponents.DotNetBar.LabelX lblResetPassword;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX remember;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX chkRemember;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX autoLogin;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx1;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx2;
|
||||
|
||||
@@ -86,7 +86,7 @@ namespace TemuKJD.UserForm
|
||||
txtMobile.Text = BaseClass.UserName;
|
||||
if (BaseClass.Remember)
|
||||
{
|
||||
remember.Checked = true;
|
||||
chkRemember.Checked = true;
|
||||
if (!string.IsNullOrEmpty(BaseClass.PassWord))
|
||||
password.Text = "******";
|
||||
}
|
||||
@@ -103,6 +103,7 @@ namespace TemuKJD.UserForm
|
||||
lblContactSupport.Visible = false;
|
||||
else
|
||||
lblContactSupport.Visible = true;
|
||||
lblContactSupport.Visible = false;
|
||||
}
|
||||
|
||||
private void lblSignUp_Click(object sender, EventArgs e)
|
||||
@@ -121,22 +122,22 @@ namespace TemuKJD.UserForm
|
||||
|
||||
private void remember_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
BaseClass.Remember = remember.Checked;
|
||||
BaseClass.Remember = chkRemember.Checked;
|
||||
}
|
||||
|
||||
private void autoLogin_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
BaseClass.AutoLogin = autoLogin.Checked;
|
||||
if (autoLogin.Checked)
|
||||
remember.Checked = true;
|
||||
chkRemember.Checked = true;
|
||||
}
|
||||
|
||||
private void loginPanel_Click(object sender, EventArgs e)
|
||||
{
|
||||
//if (rbtDev.Checked)
|
||||
// BaseClass.LoginApiUrl = "http://192.168.8.191:9090/";
|
||||
//else
|
||||
// BaseClass.LoginApiUrl = "http://new.qixiaoke.com/";
|
||||
if (rbtDev.Checked)
|
||||
BaseClass.LoginApiUrl = "http://localhost:9000";
|
||||
else
|
||||
BaseClass.LoginApiUrl = BaseClass.ServerUrl;
|
||||
//"http://localhost:8000/user/user_login"
|
||||
|
||||
UserLogin ul = new UserLogin();
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
<!--
|
||||
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
|
||||
|
||||
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>
|
||||
@@ -26,36 +26,36 @@
|
||||
<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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
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
|
||||
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
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
|
||||
Reference in new issue
Block a user