?? form1.frm
字號:
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 3 'Fixed Dialog
ClientHeight = 3975
ClientLeft = 45
ClientTop = 45
ClientWidth = 5985
ClipControls = 0 'False
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Moveable = 0 'False
Picture = "Form1.frx":0000
ScaleHeight = 3975
ScaleWidth = 5985
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access"
DatabaseName = ""
DefaultCursorType= 0 '缺省游標
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 285
Left = 2040
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = ""
Top = 1200
Visible = 0 'False
Width = 1815
End
Begin VB.Timer Timer1
Interval = 1000
Left = 4800
Top = 2880
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "周君"
BeginProperty Font
Name = "華文行楷"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 720
Index = 1
Left = 4770
TabIndex = 3
Top = 1620
Width = 1155
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "周君"
BeginProperty Font
Name = "楷體_GB2312"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 0
Left = 4800
TabIndex = 2
Top = 1680
Width = 1095
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "小區物業管理系統"
BeginProperty Font
Name = "華文行楷"
Size = 27.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 675
Index = 1
Left = 480
TabIndex = 1
Top = 600
Width = 4980
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "小區物業管理系統"
BeginProperty Font
Name = "楷體_GB2312"
Size = 27.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 735
Index = 0
Left = 600
TabIndex = 0
Top = 600
Width = 4815
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim a
Dim b
Private Sub Form_Load()
Data1.DatabaseName = App.Path + "\db.mdb"
Data1.RecordSource = "用戶管理"
End Sub
Private Sub Timer1_Timer()
a = a + 1
If a = 3 Then
Call js
End If
End Sub
Private Sub js()
b = Data1.Recordset.RecordCount
If b > 0 Then
Form11.Show
Unload Me
Else
Form10.Show
Unload Me
End If
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -