📄 frmmain.frm
字号:
VERSION 5.00
Begin VB.Form FrmMain
Caption = "旅游资源及线路报价管理系统"
ClientHeight = 8580
ClientLeft = 60
ClientTop = 360
ClientWidth = 11880
Icon = "FrmMain.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
ScaleHeight = 8580
ScaleWidth = 11880
StartUpPosition = 2 '屏幕中心
Begin VB.Label lblLine
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "旅游线路管理"
BeginProperty Font
Name = "华文行楷"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 5400
MouseIcon = "FrmMain.frx":0442
MousePointer = 99 'Custom
TabIndex = 9
Top = 4680
Width = 2160
End
Begin VB.Label lblexit
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "退出系统"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000080&
Height = 240
Left = 9600
MouseIcon = "FrmMain.frx":074C
MousePointer = 99 'Custom
TabIndex = 8
Top = 6600
Width = 1020
End
Begin VB.Image ImgExit
Height = 615
Left = 8640
MouseIcon = "FrmMain.frx":0A56
MousePointer = 99 'Custom
Picture = "FrmMain.frx":0D60
Stretch = -1 'True
Top = 6360
Width = 600
End
Begin VB.Image Image10
Height = 255
Left = 1320
MousePointer = 99 'Custom
Picture = "FrmMain.frx":0EEF
Stretch = -1 'True
Top = 4740
Width = 255
End
Begin VB.Label lblPlane
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "飞机资源管理"
BeginProperty Font
Name = "华文行楷"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 1920
MouseIcon = "FrmMain.frx":12F0
MousePointer = 99 'Custom
TabIndex = 7
Top = 4680
Width = 2160
End
Begin VB.Image Image9
Height = 255
Left = 4800
MousePointer = 99 'Custom
Picture = "FrmMain.frx":15FA
Stretch = -1 'True
Top = 4740
Width = 255
End
Begin VB.Label lblUsers
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "系统用户管理"
BeginProperty Font
Name = "华文行楷"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 8880
MouseIcon = "FrmMain.frx":19FB
MousePointer = 99 'Custom
TabIndex = 6
Top = 4680
Width = 2160
End
Begin VB.Image Image8
Height = 255
Left = 8280
MousePointer = 99 'Custom
Picture = "FrmMain.frx":1D05
Stretch = -1 'True
Top = 4740
Width = 255
End
Begin VB.Image Image7
Height = 255
Left = 1320
MousePointer = 99 'Custom
Picture = "FrmMain.frx":2106
Stretch = -1 'True
Top = 3660
Width = 255
End
Begin VB.Label lblres
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "餐厅资源管理"
BeginProperty Font
Name = "华文行楷"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 1920
MouseIcon = "FrmMain.frx":2507
MousePointer = 99 'Custom
TabIndex = 5
Top = 3600
Width = 2160
End
Begin VB.Label lblamuse
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "娱乐资源管理"
BeginProperty Font
Name = "华文行楷"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 5400
MouseIcon = "FrmMain.frx":2811
MousePointer = 99 'Custom
TabIndex = 4
Top = 3600
Width = 2160
End
Begin VB.Image Image6
Height = 255
Left = 4800
MousePointer = 99 'Custom
Picture = "FrmMain.frx":2B1B
Stretch = -1 'True
Top = 3660
Width = 255
End
Begin VB.Label lbltrain
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "火车资源管理"
BeginProperty Font
Name = "华文行楷"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 8880
MouseIcon = "FrmMain.frx":2F1C
MousePointer = 99 'Custom
TabIndex = 3
Top = 3600
Width = 2160
End
Begin VB.Image Image5
Height = 255
Left = 8280
MousePointer = 99 'Custom
Picture = "FrmMain.frx":3226
Stretch = -1 'True
Top = 3660
Width = 255
End
Begin VB.Image Image4
Height = 255
Left = 8280
MousePointer = 99 'Custom
Picture = "FrmMain.frx":3627
Stretch = -1 'True
Top = 2640
Width = 255
End
Begin VB.Label lblhotel
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "宾馆资源管理"
BeginProperty Font
Name = "华文行楷"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 8880
MouseIcon = "FrmMain.frx":3A28
MousePointer = 99 'Custom
TabIndex = 2
Top = 2580
Width = 2160
End
Begin VB.Image Image3
Height = 255
Left = 4800
MousePointer = 99 'Custom
Picture = "FrmMain.frx":3D32
Stretch = -1 'True
Top = 2640
Width = 255
End
Begin VB.Label lblplace
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "景点资源管理"
BeginProperty Font
Name = "华文行楷"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 5400
MouseIcon = "FrmMain.frx":4133
MousePointer = 99 'Custom
TabIndex = 1
Top = 2580
Width = 2160
End
Begin VB.Label lblarea
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "地域资源管理"
BeginProperty Font
Name = "华文行楷"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 1920
MouseIcon = "FrmMain.frx":443D
MousePointer = 99 'Custom
TabIndex = 0
Top = 2580
Width = 2160
End
Begin VB.Image Image2
Height = 255
Left = 1320
MousePointer = 99 'Custom
Picture = "FrmMain.frx":4747
Stretch = -1 'True
Top = 2640
Width = 255
End
Begin VB.Image Image1
Height = 8655
Left = 0
Picture = "FrmMain.frx":4B48
Stretch = -1 'True
Top = 0
Width = 11895
End
End
Attribute VB_Name = "FrmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
FrmLogin.Show 1
End Sub
Private Sub ImgExit_Click()
End
End Sub
Private Sub lblLine_Click()
FrmLineMan.Show 1
End Sub
Private Sub Lblplane_Click()
FrmPlaneMan.Show 1
End Sub
Private Sub lblamuse_Click()
FrmAmuseMan.Show 1
End Sub
Private Sub lblarea_Click()
FrmAreaMan.Show 1
End Sub
Private Sub lblexit_Click()
DBapi_Disconnect
End
End Sub
Private Sub lblhotel_Click()
FrmHotelMan.Show 1
End Sub
Private Sub lblplace_Click()
FrmPlaceMan.Show 1
End Sub
Private Sub lblres_Click()
FrmResMan.Show 1
End Sub
Private Sub lbltrain_Click()
FrmTrainMan.Show 1
End Sub
Private Sub lblUsers_Click()
'如果选择用户为Admin,则进入用户管理窗体
If Format(CurUser.UserName, "<") = "admin" Then
FrmUserMan.Show 1
Else
'否则进入用户编辑窗体,编辑自己的用户信息
With FrmUserEdit
.OriUser = CurUser.UserName
.txtUserName = CurUser.UserName
.txtPass = CurUser.Pwd
.txtPass2 = CurUser.Pwd
.txtEname = CurUser.EmpName
.txtEname.Enabled = False
.Modify = True
.Show 1
End With
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -