📄 mdiform1.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.MDIForm MDIForm1
BackColor = &H8000000C&
Caption = "会员管理系统"
ClientHeight = 7335
ClientLeft = 165
ClientTop = 450
ClientWidth = 9600
Icon = "MDIForm1.frx":0000
LinkTopic = "MDIForm1"
MouseIcon = "MDIForm1.frx":7D42
ScrollBars = 0 'False
StartUpPosition = 1 '所有者中心
WindowState = 2 'Maximized
Begin VB.Timer Timer1
Interval = 10
Left = 4980
Top = 6420
End
Begin MSComctlLib.ImageList ImageList1
Left = 5820
Top = 4260
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 69
ImageHeight = 36
MaskColor = 16777215
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 7
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":FA84
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":1009C
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":104AA
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":10A89
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":110CE
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":116BC
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":11A9F
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 855
Left = 0
TabIndex = 1
Top = 0
Width = 9600
_ExtentX = 16933
_ExtentY = 1508
ButtonWidth = 2011
ButtonHeight = 1455
Appearance = 1
Style = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 7
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "会员消费"
Key = "会员消费"
Object.ToolTipText = "会员消费"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "会员管理"
Key = "会员管理"
Object.ToolTipText = "会员管理"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "事件提醒"
Key = "事件提醒"
Object.ToolTipText = "事件提醒"
ImageIndex = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "统计报表"
Key = "统计报表"
Object.ToolTipText = "统计报表"
ImageIndex = 4
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "系统设置"
Key = "系统设置"
Object.ToolTipText = "系统设置"
ImageIndex = 5
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "交班管理"
Key = "交班管理"
Object.ToolTipText = "交班管理"
ImageIndex = 6
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出系统"
Key = "退出系统"
Object.ToolTipText = "退出系统"
ImageIndex = 7
EndProperty
EndProperty
Begin VB.Image Image1
Height = 945
Left = 8190
Picture = "MDIForm1.frx":12176
Top = 240
Width = 4410
End
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 315
Left = 0
TabIndex = 0
Top = 7020
Width = 9600
_ExtentX = 16933
_ExtentY = 556
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 5
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 2
Object.Width = 2831
MinWidth = 2822
Text = "渠伟杰制作"
TextSave = "渠伟杰制作"
Object.ToolTipText = "版权信息"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 3175
MinWidth = 3175
Text = "QQ:151693707"
TextSave = "QQ:151693707"
Object.ToolTipText = "www.91663.com"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Text = "操作员:Admin"
TextSave = "操作员:Admin"
Object.ToolTipText = "当前登陆的操作员"
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 5239
Object.ToolTipText = "当前日期"
EndProperty
BeginProperty Panel5 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
EndProperty
End
Begin VB.Menu xitongweihu
Caption = "系统维护"
Begin VB.Menu beifen
Caption = "数据备份-恢复"
End
Begin VB.Menu xitongshezhi
Caption = "系统设置"
End
Begin VB.Menu chakanrizhi
Caption = "查看日志"
End
Begin VB.Menu xiougaimima
Caption = "修改密码"
End
End
Begin VB.Menu richangcuozuo
Caption = "日常操作"
Begin VB.Menu huiyuanxiaofei
Caption = "会员消费"
End
Begin VB.Menu huiyuanguanli
Caption = "会员管理"
End
Begin VB.Menu shijiantixing
Caption = "事件提醒"
End
Begin VB.Menu tongjibaobiao
Caption = "统计报表"
End
End
Begin VB.Menu ruanjianbangzhu
Caption = "软件帮助"
Begin VB.Menu zaixianbangzhu
Caption = "再线帮助"
End
Begin VB.Menu jishuzhichiluentan
Caption = "技术支持论坛"
End
Begin VB.Menu guanyubenruanjian
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 guanyubenruanjian_Click()
frmAbout.Show
End Sub
Private Sub MDIForm_Load()
SetToolbarBG Toolbar1.hWnd, Image1.Picture
Dim mypanel As Panel
Timer1.Enabled = True
Set mypanel = StatusBar1.Panels.Add(4, , , sbrDate) '状态栏1显示日期
Set mypanel = StatusBar1.Panels.Add(5) '状态栏2显示星期几
Call MyWeekDay
Form2.Show
End Sub
Private Sub MDIForm_Unload(Cancel As Integer)
End
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Key
Case "退出系统"
Dim i As Integer
i = MsgBox("你确定要退出管理系统?", vbYesNo + vbQuestion, "会员管理系统")
If i = vbYes Then
End
End If
Case "会员消费"
Form2.Show
Form4.Visible = False
Form3.Visible = False
Form2.WindowState = 2
Case "会员管理"
Form3.Show
Form4.Visible = False
Form2.Visible = False
Form3.WindowState = 2
Case "系统设置"
Form4.Show
Form3.Visible = False
Form2.Visible = False
End Select
End Sub
Private Sub MyWeekDay()
Select Case Weekday(Date)
Case 1
StatusBar1.Panels(5).Text = "星期日"
Case 2
StatusBar1.Panels(5).Text = "星期一"
Case 3
StatusBar1.Panels(5).Text = "星期二"
Case 4
StatusBar1.Panels(5).Text = "星期三"
Case 5
StatusBar1.Panels(5).Text = "星期四"
Case 6
StatusBar1.Panels(5).Text = "星期五"
Case 7
StatusBar1.Panels(5).Text = "星期六"
End Select
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -