?? frm_xtdl.frm
字號:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form frm_XTDL
Caption = "房地產銷售管理系統"
ClientHeight = 1890
ClientLeft = 4260
ClientTop = 3345
ClientWidth = 3330
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1890
ScaleWidth = 3330
Begin MSAdodcLib.Adodc Adodc1
Height = 375
Left = 0
Top = 2160
Width = 2175
_ExtentX = 3836
_ExtentY = 661
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=MSDASQL.1;Persist Security Info=False;User ID=sa;Data Source=ljm"
OLEDBString = "Provider=MSDASQL.1;Persist Security Info=False;User ID=sa;Data Source=ljm"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from Table_YHDL"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.TextBox Text4
DataField = "口令"
DataSource = "Adodc1"
Height = 375
Left = 2160
TabIndex = 8
Text = "Text4"
Top = 2160
Width = 1215
End
Begin VB.Frame Frame1
Caption = "系統登錄"
Height = 1335
Left = 120
TabIndex = 2
Top = 120
Width = 3135
Begin VB.CommandButton Command3
Caption = "<<"
Height = 310
Left = 2640
TabIndex = 7
Top = 360
Width = 350
End
Begin VB.TextBox Text2
Height = 300
Left = 1200
TabIndex = 6
Text = "Administrator"
Top = 360
Width = 1455
End
Begin VB.TextBox Text1
Height = 300
IMEMode = 3 'DISABLE
Left = 1200
PasswordChar = "*"
TabIndex = 3
Top = 840
Width = 1815
End
Begin VB.Label Label2
Caption = "口令"
Height = 255
Left = 240
TabIndex = 5
Top = 960
Width = 615
End
Begin VB.Label Label1
Caption = "用戶名"
Height = 375
Left = 240
TabIndex = 4
Top = 480
Width = 735
End
End
Begin VB.CommandButton Command1
Caption = "確定"
Height = 300
Left = 1680
TabIndex = 1
Top = 1560
Width = 735
End
Begin VB.CommandButton Command2
Caption = "取消"
Height = 300
Left = 2520
TabIndex = 0
Top = 1560
Width = 735
End
End
Attribute VB_Name = "frm_XTDL"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text2.Text = "Administrator" And Text1.Text = "ljm2004" Then
Unload Me
MDI_main.Show
Else
Adodc1.RecordSource = "select * from Table_YHDL where 用戶名 ='" & Text2.Text & "'"
Adodc1.Refresh
If Adodc1.Recordset.RecordCount > 0 Then
If Text1.Text = Text4.Text Then
frm_XTDL.Hide
MDI_main.Show
Else
MsgBox "密碼不正確,請您確認后重新輸入"
Text1.Text = ""
Text1.SetFocus
End If
Else
MsgBox "對不起 沒有此用戶的信息"
Text2.Text = ""
Text1.Text = ""
End If
End If
'MDI_main.StatusBar1.Panels.Item(2).Text = "當前操作員: " + frm_RYXS.ListView1.SelectedItem.Text
End Sub
Private Sub Command2_Click()
If frm_XTDL.Caption = "房地產銷售管理系統" Then
End
ElseIf frm_XTDL.Caption = "數據清理權限管理" Then
Unload Me
Else
End If
End Sub
Private Sub Command3_Click()
'frm_XTDL.Hide
Unload Me
frm_RYXS.Show
frm_RYXS.Caption = "操作員選擇"
End Sub
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then
If Text2.Text = "Administrator" And Text1.Text = "ljm2004" Then
frm_XTDL.Hide
MDI_main.Show
Else
Adodc1.RecordSource = "select * from Table_YHDL where 用戶名 ='" & Text2.Text & "'"
Adodc1.Refresh
If Adodc1.Recordset.RecordCount > 0 Then
If Text1.Text = Text4.Text Then
frm_XTDL.Hide
MDI_main.Show
Else
MsgBox "密碼不正確,請您確認后重新輸入"
Text1.Text = ""
Text1.SetFocus
End If
Else
MsgBox "對不起 沒有此用戶的信息"
Text2.Text = ""
Text1.Text = ""
End If
End If
Else
End If
'MDI_main.StatusBar1.Panels.Item(2).Text = "當前操作員: " + frm_RYXS.ListView1.SelectedItem.Text
End Sub
Private Sub Text2_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then
Text1.SetFocus
Else
End If
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -