?? frmmain.frm
字號:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form frmmain
Caption = " 停車收費管理系統 "
ClientHeight = 7815
ClientLeft = 2550
ClientTop = 1770
ClientWidth = 10110
LinkTopic = "Form1"
ScaleHeight = 7815
ScaleWidth = 10110
Visible = 0 'False
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
DragIcon = "frmmain.frx":0000
Height = 375
Left = 0
TabIndex = 0
ToolTipText = "做個小系統都好累啊!"
Top = 7440
Width = 10110
_ExtentX = 17833
_ExtentY = 661
Style = 1
SimpleText = "歡迎使用楓林晚停車自動收費系統1.0初級版,本小組今后還將推出更高版本系統,衷心感謝廣大fans朋友的支持!"
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 1
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
EndProperty
MouseIcon = "frmmain.frx":29C12
End
Begin 工程1.ucexit ucexit1
Height = 6735
Left = 360
TabIndex = 1
Top = 720
Width = 8895
_ExtentX = 15266
_ExtentY = 11880
End
Begin 工程1.ucquery ucsearch1
Height = 5415
Left = 1320
TabIndex = 2
Top = 1080
Width = 7695
_ExtentX = 13785
_ExtentY = 10186
End
Begin 工程1.ucenter ucenter1
Height = 6855
Left = -240
TabIndex = 3
Top = 360
Width = 9975
_ExtentX = 17595
_ExtentY = 12091
End
Begin VB.PictureBox Picture1
Height = 7455
Left = 0
Picture = "frmmain.frx":53834
ScaleHeight = 7395
ScaleWidth = 10035
TabIndex = 4
Top = 0
Width = 10095
Begin VB.Label lab1
BackStyle = 0 'Transparent
Caption = "Label1"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 0
TabIndex = 5
Top = 360
Width = 9975
End
End
Begin VB.Menu file_exit
Caption = "退出"
End
Begin VB.Menu ope_enter
Caption = "車輛進入"
End
Begin VB.Menu ope_exit
Caption = "車輛離開"
End
Begin VB.Menu ope_query
Caption = "車輛查詢"
End
Begin VB.Menu mgr_user
Caption = "用戶管理"
End
Begin VB.Menu mgr_operate
Caption = "操作記錄"
End
Begin VB.Menu help
Caption = "關于"
End
End
Attribute VB_Name = "frmmain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
On Error Resume Next
Select Case Button.Key
Case "按鈕"
'應做:添加 '按鈕' 按鈕代碼。
MsgBox "添加 '按鈕' 按鈕代碼。"
End Select
End Sub
Private Sub file_Click()
End Sub
Private Sub file_exit_Click()
Dim myexit As Integer
myexit = MsgBox("是否退出程序", vbYesNo + vbQuestion, "退出")
If myexit = vbYes Then End
End Sub
Private Sub Image2_Click()
End Sub
Private Sub Form_Unload(Cancel As Integer)
dbcnn.Close
End
End Sub
Private Sub help_Click()
Call helpwindow.Show(vbModal, Me)
End Sub
Private Sub mgr_operate_Click()
If usernow.type <> 0 Then
MsgBox "對不起,您不是系統管理員,沒有該權限!", , "提示!"
Exit Sub
End If
Call frmqueryrec.Show(vbModal, Me)
End Sub
Private Sub mgr_user_Click()
If usernow.type <> 0 Then
MsgBox "對不起,您不是系統管理員,沒有該權限!", , "提示!"
Exit Sub
End If
Call frmuser.Show(vbModal, Me)
End Sub
Private Sub ope_enter_Click()
Call showgroup(Me.ucenter1)
End Sub
Private Sub ope_exit_Click()
Call showgroup(Me.ucexit1)
End Sub
Private Sub ope_query_Click()
Call showgroup(Me.ucsearch1)
End Sub
Private Sub showgroup(ByRef target_ctl As Object)
Me.ucenter1.Visible = False
Me.ucexit1.Visible = False
Me.ucsearch1.Visible = False
target_ctl.Visible = True
End Sub
Private Sub Form_Load()
Dim str As String
Select Case usernow.type
Case 0
str = "系統管理員"
Case 1
str = "一般用戶"
Case 2
str = "高級用戶“"
End Select
Me.lab1.Caption = "當前用戶:" & usernow.id & " 用戶類型:" & str
Call showgroup(Me.ucenter1)
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -