📄 frmmain.frm
字号:
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=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\hua\桌面\tour\tour.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\hua\桌面\tour\tour.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
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 MSComctlLib.TreeView TreeView1
Height = 3135
Left = 420
TabIndex = 3
Top = 780
Width = 1335
_ExtentX = 2355
_ExtentY = 5530
_Version = 393217
Indentation = 176
Style = 7
ImageList = "ImageList2"
Appearance = 0
End
Begin VB.Image Image1
Appearance = 0 'Flat
Height = 735
Left = 60
Picture = "frmmain.frx":9EE3
Stretch = -1 'True
Top = -60
Width = 2055
End
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 525
Left = 0
TabIndex = 0
Top = 0
Width = 7260
_ExtentX = 12806
_ExtentY = 926
ButtonWidth = 794
ButtonHeight = 767
Appearance = 1
ImageList = "ImageList2"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 9
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "a"
Object.ToolTipText = "酒店管理 F8"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "b"
Object.ToolTipText = "订单管理查询 F9"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "d"
ImageIndex = 3
Style = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "e"
Object.ToolTipText = "查询报表 F12"
ImageIndex = 3
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "f"
Object.ToolTipText = "业务统计 F11"
ImageIndex = 4
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "g"
Object.ToolTipText = "员工管理"
ImageIndex = 5
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "h"
Style = 3
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "i"
Object.ToolTipText = "许可证书"
ImageIndex = 7
EndProperty
BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "j"
Object.ToolTipText = "帮助..."
ImageIndex = 8
EndProperty
EndProperty
End
Begin VB.Menu f
Caption = "酒店管理"
Begin VB.Menu jdedit
Caption = "酒店信息编辑"
Shortcut = {F8}
End
End
Begin VB.Menu ddgl
Caption = "订单管理"
Begin VB.Menu ddbj
Caption = "订单编辑"
Shortcut = {F9}
End
End
Begin VB.Menu yw
Caption = "业务管理"
Begin VB.Menu ygedit
Caption = "员工编辑"
End
End
Begin VB.Menu CXTJ
Caption = "查询统计报表"
Begin VB.Menu ywtj
Caption = "业务统计"
Shortcut = {F11}
End
Begin VB.Menu zdycx
Caption = "查询"
Shortcut = {F12}
End
End
Begin VB.Menu user
Caption = "用户管理"
Begin VB.Menu yhbj
Caption = "用户管理"
End
Begin VB.Menu qx
Caption = "修改密码"
End
End
Begin VB.Menu help
Caption = "帮助(&H)"
Begin VB.Menu context
Caption = "主题"
Shortcut = {F1}
End
Begin VB.Menu tip
Caption = "日积月累"
End
Begin VB.Menu index
Caption = "索引"
End
Begin VB.Menu teloc
Caption = "技术支持..."
Shortcut = {F2}
End
Begin VB.Menu about
Caption = "关于..."
Shortcut = {F5}
End
Begin VB.Menu zuoz
Caption = "访问作者主页"
End
End
End
Attribute VB_Name = "MDIForm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form3.Show
End Sub
Private Sub Command2_Click()
Dim copyright As String
copyright = "设计:贾振华 程序:贾振华 版权:卓阳软件工作室 版权所有,不得盗版 (a)2001-2002 作者邮箱:freedomhua@163.com"
showhelp copyright, Form1
End Sub
Private Sub Command3_Click()
Form4.Show
End Sub
Private Sub Command4_Click()
Form5.Show
End Sub
Private Sub Command5_Click()
Form6.Show
End Sub
Private Sub about_Click()
Form2.Show
End Sub
Private Sub context_Click()
Dim copyright As String
copyright = "设计:贾振华 程序:贾振华 版权:卓阳软件工作室 版权所有,不得盗版 (a)2001-2002 作者邮箱:freedomhua@163.com"
showhelp copyright, Form1
End Sub
Private Sub ddbj_Click()
Form4.Show
End Sub
Private Sub jdedit_Click()
Form3.Show
End Sub
Private Sub jdsearch_Click()
MsgBox "df"
End Sub
Private Sub MDIForm_Activate()
TreeView1.Width = Picture1.ScaleWidth
TreeView1.Height = Picture1.ScaleHeight
Image1.Top = 0: Image1.Left = 0
Image1.Width = Picture1.ScaleWidth
TreeView1.Left = 0
TreeView1.Top = Image1.Height
End Sub
Private Sub MDIForm_Load()
'rg.frmZoom Me, TopLeft, ZoomFormOpen, 350, Explode
Call iniuser(UserID)
StatusBar1.Panels(1).Text = "用户ID:" & UserID & " 用户名称:" & UserName
Dim SysNode As Node
Set SysNode = TreeView1.Nodes.Add(, , "SysFunc", "旅游统计管理系统", 4)
SysNode.Expanded = True
Set SysNode = TreeView1.Nodes.Add("SysFunc", tvwChild, "jiudguanl", "酒店管理", 7)
Set SysNode = TreeView1.Nodes.Add("jiudguanl", tvwChild, "editjiud", "酒店信息编辑", 1)
Set SysNode = TreeView1.Nodes.Add("jiudguanl", tvwChild, "searchjd", "酒店信息查询", 3)
Set SysNode = TreeView1.Nodes.Add("SysFunc", tvwChild, "dingd", "订单管理", 7)
Set SysNode = TreeView1.Nodes.Add("dingd", tvwChild, "dingdman", "管理订单", 2)
Set SysNode = TreeView1.Nodes.Add("dingd", tvwChild, "searchdingd", "订单查询", 3)
Set SysNode = TreeView1.Nodes.Add("SysFunc", tvwChild, "yw", "业务管理", 7)
Set SysNode = TreeView1.Nodes.Add("yw", tvwChild, "edityw", "员工编辑", 5)
End Sub
Private Sub MDIForm_Unload(Cancel As Integer)
On Error Resume Next
Unload frmTip
End Sub
Private Sub Picture1_Resize()
TreeView1.Width = Picture1.ScaleWidth
TreeView1.Height = Picture1.ScaleHeight
Image1.Top = 0: Image1.Left = 0
Image1.Width = Picture1.ScaleWidth
TreeView1.Left = 0
TreeView1.Top = Image1.Height
End Sub
Private Sub qx_Click()
Form8.Show 1
End Sub
Private Sub Timer1_Timer()
StatusBar1.Panels(2).Text = Format(Date, "yyyy年mm月dd日")
StatusBar1.Panels(3).Text = Format(Time, "hh:mm:ss")
End Sub
Private Sub tip_Click()
SaveSetting App.EXEName, "Options", "在启动时显示提示", 1
frmTip.Show
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Key
Case "a": jdedit_Click
Case "b": ddbj_Click
Case "d": ddbj_Click
Case "f": ywtj_Click
Case "g": Form5.Show
Case "e": zdycx_Click
Case "j": context_Click
End Select
End Sub
Private Sub TreeView1_NodeClick(ByVal Node As MSComctlLib.Node)
Select Case Node
Case "酒店信息编辑": Form3.Show
Case "酒店信息查询": Form9.Show
Case "管理订单": Form4.Show
Case "订单查询": Form9.Show
Case "员工编辑": Form5.Show
End Select
End Sub
Private Sub ygedit_Click()
Form5.Show
End Sub
Private Sub yhbj_Click()
Form7.Show
End Sub
Private Sub ywtj_Click()
Form6.Show
End Sub
Private Sub zdycx_Click()
Form9.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -