?? frmmain.frm
字號:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form frmMain
Caption = "加油站管理系統"
ClientHeight = 8985
ClientLeft = 60
ClientTop = 750
ClientWidth = 12420
Icon = "frmMain.frx":0000
LinkTopic = "Form1"
Picture = "frmMain.frx":29C12
ScaleHeight = 8985
ScaleWidth = 12420
StartUpPosition = 2 '屏幕中心
WindowState = 2 'Maximized
Begin MSComctlLib.StatusBar stbMain
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 1
Top = 8610
Width = 12420
_ExtentX = 21908
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 5
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 7761
MinWidth = 7761
Text = "加油站管理系統"
TextSave = "加油站管理系統"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 4410
MinWidth = 4410
Text = "作者:呂鵬飛"
TextSave = "作者:呂鵬飛"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Enabled = 0 'False
Object.Width = 16581
MinWidth = 16581
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
TextSave = "2008-6-4"
EndProperty
BeginProperty Panel5 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
TextSave = "11:18"
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar tlbMain
Align = 1 'Align Top
Height = 855
Left = 0
TabIndex = 0
Top = 0
Width = 12420
_ExtentX = 21908
_ExtentY = 1508
ButtonWidth = 1455
ButtonHeight = 1349
Appearance = 1
ImageList = "imlToolBar"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 14
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "采購單"
Key = "CGD"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "銷售單"
Key = "XSD"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "油品管理"
Key = "CPGL"
ImageIndex = 3
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "供應商"
Key = "GYSGL"
ImageIndex = 7
EndProperty
BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "客戶"
Key = "KHGL"
ImageIndex = 8
EndProperty
BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "密碼設置"
Key = "MMSZ"
ImageIndex = 4
EndProperty
BeginProperty Button13 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "時間"
Key = "TIME"
ImageIndex = 6
EndProperty
BeginProperty Button14 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出"
Key = "TCXT"
ImageIndex = 5
EndProperty
EndProperty
End
Begin MSComctlLib.ImageList imlToolBar
Left = 9960
Top = 1440
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 9
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":44915
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":4512B
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":4597D
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":46156
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":46815
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":4706F
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":478AB
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":4805E
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":48712
Key = ""
EndProperty
EndProperty
End
Begin VB.Menu RCYW
Caption = "日常業務(&N)"
Begin VB.Menu CGD
Caption = "采購單"
Shortcut = ^P
End
Begin VB.Menu XSD
Caption = "銷售單"
Shortcut = ^S
End
Begin VB.Menu FEN1
Caption = "-"
End
Begin VB.Menu CGCX
Caption = "采購查詢"
Shortcut = ^G
End
Begin VB.Menu XSCX
Caption = "銷售查詢"
Shortcut = ^X
End
End
Begin VB.Menu KCGL
Caption = "庫存管理(&S)"
Begin VB.Menu KCCX
Caption = "庫存查詢"
Shortcut = ^F
End
Begin VB.Menu CPGL
Caption = "油品管理"
Shortcut = ^C
End
End
Begin VB.Menu BBGL
Caption = "報表管理(&T)"
Begin VB.Menu YPBB
Caption = "油品報表"
Shortcut = {F5}
End
Begin VB.Menu GYBB
Caption = "購油報表"
Shortcut = {F6}
End
Begin VB.Menu XSBB
Caption = "銷售報表"
Shortcut = {F7}
End
Begin VB.Menu KHBB
Caption = "客戶報表"
Shortcut = {F8}
End
Begin VB.Menu GYSBB
Caption = "供應商報表"
Shortcut = {F9}
End
End
Begin VB.Menu JCXX
Caption = "基礎信息(&B)"
Begin VB.Menu GYSGL
Caption = "供應商管理"
Shortcut = ^Y
End
Begin VB.Menu KHGL
Caption = "客戶管理"
Shortcut = ^H
End
End
Begin VB.Menu XTSZ
Caption = "系統設置(&O)"
Begin VB.Menu MMSZ
Caption = "密碼設置"
Shortcut = ^M
End
Begin VB.Menu TIME
Caption = "當前時間"
Shortcut = ^T
End
Begin VB.Menu GYXT
Caption = "關于系統"
Shortcut = ^A
End
End
Begin VB.Menu MRTS
Caption = "每日提示(&D)"
End
Begin VB.Menu TCXT
Caption = "退出(&X)"
End
Begin VB.Menu YJ
Caption = "右鍵"
Visible = 0 'False
Begin VB.Menu BJTP
Caption = "背景圖片"
Begin VB.Menu BSMZF
Caption = "生命綻放"
End
Begin VB.Menu BSFGX
Caption = "釋放個性"
End
Begin VB.Menu BXZYL
Caption = "炫紫幽蘭"
End
End
Begin VB.Menu SBYS
Caption = "鼠標樣式"
Begin VB.Menu ACG
Caption = "常規指針"
End
Begin VB.Menu AYD
Caption = "移動指針"
End
Begin VB.Menu ADW
Caption = "定位指針"
End
End
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub ACG_Click()
frmMain.MousePointer = 0
End Sub
Private Sub ADW_Click()
frmMain.MousePointer = 2
End Sub
Private Sub AYD_Click()
frmMain.MousePointer = 15
End Sub
Private Sub BSFGX_Click()
frmMain.Picture = LoadPicture(App.Path + "\Image\back4.jpg")
End Sub
Private Sub BSMZF_Click()
frmMain.Picture = LoadPicture(App.Path + "\Image\back1.jpg")
End Sub
Private Sub BXZYL_Click()
frmMain.Picture = LoadPicture(App.Path + "\Image\back6.jpg")
End Sub
Private Sub CGCX_Click()
Load frmCGCX
frmCGCX.Show
Me.Enabled = False
End Sub
Private Sub CGD_Click()
Load frmCGD '加載frmCGD窗體
frmCGD.Show '顯示frmCGD窗體
Me.Enabled = False '設置主窗體不可用
End Sub
Private Sub CPGL_Click()
Load frmCPGL
frmCPGL.Show
Me.Enabled = False
End Sub
Private Sub Form_MouseUp(Button As Integer, Shift As Integer, x As Single, Y As Single)
If Button = 2 Then
PopupMenu YJ
End If
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
If MsgBox("確定要退出本系統嗎?", vbYesNo + vbQuestion, "提示") = vbNo Then
Cancel = True '選擇不退出系統,則取消卸載
End If
End Sub
Private Sub GYBB_Click()
dpPS_Purchases.Show
End Sub
Private Sub GYSBB_Click()
dpPS_Suppliers.Show
End Sub
Private Sub GYSGL_Click()
Load frmGYSGL
frmGYSGL.Show
Me.Enabled = False
End Sub
Private Sub GYXT_Click()
Load frmGYXT
frmGYXT.Show
Me.Enabled = False
End Sub
Private Sub KCCX_Click()
Load frmKCCX
frmKCCX.Show
Me.Enabled = False
End Sub
Private Sub KHBB_Click()
dpPS_Customers.Show
End Sub
Private Sub KHGL_Click()
Load frmKHGL
frmKHGL.Show
Me.Enabled = False
End Sub
Private Sub MMSZ_Click()
Load frmMMSZ '加載frmMMSZ窗體
frmMMSZ.Show '顯示frmMMSZ窗體
Me.Enabled = False '設置主窗體不可用
End Sub
Private Sub MRTS_Click()
frmTip.Show
End Sub
Private Sub TCXT_Click()
Unload Me
End Sub
Private Sub TIME_Click()
Load frmTIME
frmTIME.Show
Me.Enabled = False
End Sub
Private Sub tlbMain_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Key
Case Is = "CGD"
CGD_Click
Case Is = "XSD"
XSD_Click
Case Is = "MMSZ"
MMSZ_Click
Case Is = "TCXT"
TCXT_Click
Case Is = "CPGL"
CPGL_Click
Case Is = "TIME"
TIME_Click
Case Is = "GYSGL"
GYSGL_Click
Case Is = "KHGL"
KHGL_Click
End Select
End Sub
Private Sub XSBB_Click()
dpPS_Sales.Show
End Sub
Private Sub XSCX_Click()
Load frmXSCX
Load frmXSCX
frmXSCX.Show
Me.Enabled = False
End Sub
Private Sub XSD_Click()
Load frmXSD '加載frmXSD窗體
frmXSD.Show '顯示frmXSD窗體
Me.Enabled = False '設置主窗體不可用
End Sub
Private Sub YPBB_Click()
dpPS_Products.Show
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -