Files
AC_Pro/Src/LoginFormUnit.dfm
T

421 lines
10 KiB
ObjectPascal

object LoginForm: TLoginForm
Left = 0
Top = 0
ParentCustomHint = False
BorderStyle = bsNone
Caption = 'MainForm'
ClientHeight = 235
ClientWidth = 377
Color = 5064257
DoubleBuffered = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
KeyPreview = True
Position = poMainFormCenter
Scaled = False
OnCreate = FormCreate
OnKeyDown = FormKeyDown
OnShow = FormShow
TextHeight = 13
object m_logDialogPanel: TGeneralDialogPanel
Left = 0
Top = 0
Width = 377
Height = 235
Align = alClient
Caption = #30331#24405
Color = 5064257
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentBackground = False
ParentFont = False
TabOrder = 0
object m_logSwitchLabel: TLabel
Left = 277
Top = 154
Width = 69
Height = 19
Cursor = crHandPoint
Hint = #28857#20987#27880#20876#26032#29992#25143
ParentCustomHint = False
Alignment = taRightJustify
Caption = #27880#20876#26032#29992#25143' '
Font.Charset = DEFAULT_CHARSET
Font.Color = 14339007
Font.Height = -13
Font.Name = 'Microsoft YaHei UI'
Font.Style = [fsItalic, fsUnderline]
Font.Quality = fqClearTypeNatural
ParentFont = False
ParentShowHint = False
ShowAccelChar = False
ShowHint = True
OnClick = DoSwitchClick
OnMouseEnter = LinkLabelMouseEnter
OnMouseLeave = LinkLabelMouseLeave
end
object m_logUserNameLabel: TLabel
Left = 22
Top = 41
Width = 40
Height = 14
Caption = #29992#25143#21517':'
Font.Charset = DEFAULT_CHARSET
Font.Color = 14339007
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
Font.Quality = fqClearTypeNatural
ParentFont = False
end
object m_logPasswordLabel: TLabel
Left = 198
Top = 41
Width = 36
Height = 14
Caption = #23494#30721#65306
Font.Charset = DEFAULT_CHARSET
Font.Color = 14339007
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
Font.Quality = fqClearTypeNatural
ParentFont = False
end
object m_logButton: TTextButton
Left = 258
Top = 103
Width = 93
Height = 36
ParentShowHint = False
ShowHint = True
OnClick = DoGoClick
Text = #30331#24405
end
object m_lblResetPass: TLabel
Left = 29
Top = 154
Width = 65
Height = 19
Cursor = crHandPoint
Hint = #28857#20987#25214#22238#23494#30721
ParentCustomHint = False
Alignment = taRightJustify
Caption = #24536#35760#23494#30721#65311
Font.Charset = DEFAULT_CHARSET
Font.Color = 14339007
Font.Height = -13
Font.Name = 'Microsoft YaHei UI'
Font.Style = [fsItalic, fsUnderline]
Font.Quality = fqClearTypeNatural
ParentFont = False
ParentShowHint = False
ShowAccelChar = False
ShowHint = True
OnClick = ResetPassClick
OnMouseEnter = LinkLabelMouseEnter
OnMouseLeave = LinkLabelMouseLeave
end
object m_IsAutoLogin: TCKBox
Left = 22
Top = 115
Width = 80
Height = 16
Caption = #33258#21160#30331#24405
Ctl3D = False
DoubleBuffered = True
Font.Charset = DEFAULT_CHARSET
Font.Color = 14339007
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
ParentColor = True
ParentCtl3D = False
ParentDoubleBuffered = False
ParentFont = False
TabOrder = 2
BoxColor = 3748912
OnChange = DoAutoCheck
end
object m_logPasswordEdit: TLineEdit
Left = 198
Top = 58
Width = 156
Height = 25
ParentCustomHint = False
HintText = #35831#36755#20837#23494#30721
MaxLength = 16
PasswordChar = '*'
NumberMax = -1
NumberMin = -1
Color = 15591652
TabOrder = 1
end
object m_logUserEdit: TLineEdit
Left = 21
Top = 58
Width = 156
Height = 25
ParentCustomHint = False
HintText = #35831#36755#20837#29992#25143#21517
MaxLength = 31
NumberMax = -1
NumberMin = -1
Color = 15591652
TabOrder = 0
end
end
object m_regDialogPanel: TGeneralDialogPanel
Left = 0
Top = 0
Width = 377
Height = 235
Align = alClient
Caption = #27880#20876
Color = 5064257
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentBackground = False
ParentFont = False
TabOrder = 1
Visible = False
object m_regSwitchLabel: TLabel
Left = 283
Top = 199
Width = 64
Height = 19
Cursor = crHandPoint
Hint = #28857#20987#30331#24405
ParentCustomHint = False
Alignment = taCenter
AutoSize = False
Caption = #24050#26377#36134#25143
Font.Charset = DEFAULT_CHARSET
Font.Color = 14339007
Font.Height = -13
Font.Name = 'Microsoft YaHei UI'
Font.Style = [fsItalic, fsUnderline]
Font.Quality = fqClearTypeNatural
ParentFont = False
ParentShowHint = False
ShowAccelChar = False
ShowHint = True
OnClick = DoSwitchClick
OnMouseEnter = LinkLabelMouseEnter
OnMouseLeave = LinkLabelMouseLeave
end
object m_regUserNameLabel: TLabel
Left = 22
Top = 41
Width = 40
Height = 14
Caption = #29992#25143#21517':'
Font.Charset = DEFAULT_CHARSET
Font.Color = 14339007
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
Font.Quality = fqClearTypeNatural
ParentFont = False
end
object m_regPasswrodLabel: TLabel
Left = 198
Top = 38
Width = 36
Height = 14
Caption = #23494#30721#65306
Font.Charset = DEFAULT_CHARSET
Font.Color = 14339007
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
Font.Quality = fqClearTypeNatural
ParentFont = False
end
object m_ConfirmLabel: TLabel
Left = 198
Top = 92
Width = 60
Height = 14
Caption = #30830#35748#23494#30721#65306
Font.Charset = DEFAULT_CHARSET
Font.Color = 14339007
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
Font.Quality = fqClearTypeNatural
ParentFont = False
end
object m_regButton: TTextButton
Left = 258
Top = 148
Width = 93
Height = 36
ParentShowHint = False
ShowHint = True
OnClick = DoGoClick
Text = #27880#20876
end
object m_lblAgreement: TLabel
Left = 124
Top = 203
Width = 72
Height = 14
Cursor = crHandPoint
Hint = #28857#20987#38405#35835#29992#25143#21327#35758
ParentCustomHint = False
Alignment = taCenter
BiDiMode = bdLeftToRight
Caption = #12298#29992#25143#21327#35758#12299
Color = 5064257
Font.Charset = DEFAULT_CHARSET
Font.Color = 13158400
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = [fsUnderline]
ParentBiDiMode = False
ParentColor = False
ParentFont = False
ParentShowHint = False
ShowAccelChar = False
ShowHint = True
OnClick = AgreementClick
OnMouseEnter = AgreementMouseEnter
OnMouseLeave = AgreementMouseLeave
end
object m_sendButton: TTextButton
Left = 25
Top = 148
Width = 120
Height = 36
ParentShowHint = False
ShowHint = True
OnClick = DoSendClick
Text = #33719#21462#27880#20876#39564#35777#30721
end
object m_VerifyLabel: TLabel
Left = 23
Top = 92
Width = 48
Height = 14
Caption = #39564#35777#30721#65306
Font.Charset = DEFAULT_CHARSET
Font.Color = 14339007
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
Font.Quality = fqClearTypeNatural
ParentFont = False
end
object m_ConfirmEdit: TLineEdit
Left = 198
Top = 109
Width = 156
Height = 25
ParentCustomHint = False
HintText = #35831#20877#27425#36755#20837#23494#30721
MaxLength = 16
PasswordChar = '*'
NumberMax = -1
NumberMin = -1
Color = 15591652
TabOrder = 3
end
object m_regPasswordEdit: TLineEdit
Left = 198
Top = 58
Width = 156
Height = 25
ParentCustomHint = False
HintText = #35831#36755#20837'6-16'#20301#23494#30721
MaxLength = 16
PasswordChar = '*'
NumberMax = -1
NumberMin = -1
Color = 15591652
TabOrder = 2
end
object m_regUserEdit: TLineEdit
Left = 21
Top = 58
Width = 156
Height = 25
ParentCustomHint = False
HintText = #35831#36755#20837#25163#26426'/'#37038#31665
MaxLength = 31
NumberMax = -1
NumberMin = -1
Color = 15591652
TabOrder = 0
end
object m_ckAgree: TCKBox
Left = 22
Top = 202
Width = 97
Height = 16
Caption = #24050#38405#35835#24182#21516#24847
Ctl3D = False
DoubleBuffered = True
Font.Charset = DEFAULT_CHARSET
Font.Color = 14339007
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
ParentColor = True
ParentCtl3D = False
ParentDoubleBuffered = False
ParentFont = False
TabOrder = 4
Checked = True
BoxColor = 3748912
end
object m_VerifyEdit: TLineEdit
Left = 22
Top = 109
Width = 156
Height = 25
ParentCustomHint = False
HintText = #35831#36755#20837#27880#20876#39564#35777#30721
MaxLength = 16
NumbersOnly = True
NumberMax = -1
NumberMin = -1
Color = 15591652
TabOrder = 1
end
end
object RESTClient: TRESTClient
Accept = 'application/json, text/plain; q=0.9, text/html;q=0.8,'
AcceptCharset = 'utf-8, *;q=0.8'
ContentType = 'application/json'
Params = <>
SynchronizedEvents = False
Left = 192
Top = 168
end
object RESTRequest: TRESTRequest
Client = RESTClient
Method = rmPOST
Params = <>
Response = RESTResponse
SynchronizedEvents = False
Left = 232
Top = 184
end
object RESTResponse: TRESTResponse
ContentType = 'application/json'
ContentEncoding = 'UTF-8'
Left = 200
Top = 168
end
end