📄 car.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{38911DA0-E448-11D0-84A3-00DD01104159}#1.1#0"; "COMCT332.OCX"
Object = "{FF595003-27F5-4C41-AA2B-7BE9248B642D}#1.1#0"; "XPControl.ocx"
Object = "{74238AF8-8108-44A9-B3DE-D652F61AB8DC}#2.3#0"; "yfDNetMenu.ocx"
Object = "{AB5D7843-DD5F-4108-83BB-978AE78DF36B}#1.0#0"; "MDIPicSize.ocx"
Begin VB.MDIForm Car
BackColor = &H00808000&
Caption = "宣城酒业销售公司派车单管理系统V1.0"
ClientHeight = 6360
ClientLeft = 60
ClientTop = 705
ClientWidth = 10275
Icon = "Car.frx":0000
LinkTopic = "MDIForm1"
StartUpPosition = 2 '屏幕中心
WindowState = 2 'Maximized
Begin MSComctlLib.ImageList ImageList1
Left = 3360
Top = 600
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 4
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Car.frx":628A
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Car.frx":6624
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Car.frx":6BBE
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Car.frx":6F58
Key = ""
EndProperty
EndProperty
End
Begin MDIPictureSize.MDIPicSize MDIPicSize1
Left = 8280
Top = 1680
_ExtentX = 953
_ExtentY = 953
Picture = "Car.frx":74F2
LogoAlign = 0
BackAlign = 4
LogoMaskColor = 255
End
Begin VB.PictureBox Picture1
Align = 3 'Align Left
BackColor = &H80000005&
BorderStyle = 0 'None
FillColor = &H00808000&
Height = 5625
Left = 0
ScaleHeight = 5625
ScaleWidth = 2235
TabIndex = 3
Top = 390
Width = 2235
Begin xpControls.xpCommand Command5
Height = 375
Left = 240
TabIndex = 9
Top = 3240
Width = 1575
_ExtentX = 2778
_ExtentY = 661
Caption = "退出系统"
ForeColor = 0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "Car.frx":A6D56
CaptionAreapercent= 75
IconLayout = 5
End
Begin xpControls.xpCommand Command4
Height = 375
Left = 240
TabIndex = 8
Top = 2640
Width = 1575
_ExtentX = 2778
_ExtentY = 661
Caption = "系统管理"
ForeColor = 0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "Car.frx":A72F0
CaptionAreapercent= 75
IconLayout = 5
End
Begin xpControls.xpCommand Command3
Height = 375
Left = 240
TabIndex = 7
Top = 2040
Width = 1575
_ExtentX = 2778
_ExtentY = 661
Caption = "统计报表"
ForeColor = 0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "Car.frx":A768A
CaptionAreapercent= 75
IconLayout = 5
End
Begin xpControls.xpCommand Command2
Height = 375
Left = 240
TabIndex = 6
Top = 1440
Width = 1575
_ExtentX = 2778
_ExtentY = 661
Caption = "派车单查询"
ForeColor = 0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "Car.frx":A7A24
CaptionAreapercent= 75
IconLayout = 5
End
Begin xpControls.xpCommand Command1
Height = 375
Left = 240
TabIndex = 5
Top = 840
Width = 1575
_ExtentX = 2778
_ExtentY = 661
Caption = "派车单签发"
ForeColor = 0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "Car.frx":A7FBE
CaptionAreapercent= 75
IconLayout = 5
End
Begin VB.TextBox Text1
Height = 3015
Left = 240
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 4
Text = "Car.frx":A8358
Top = 2640
Visible = 0 'False
Width = 1575
End
End
Begin ComCtl3.CoolBar CoolBar1
Align = 1 'Align Top
Height = 390
Left = 0
TabIndex = 1
Top = 0
Width = 10275
_ExtentX = 18124
_ExtentY = 688
BandCount = 1
_CBWidth = 10275
_CBHeight = 390
_Version = "6.7.9782"
Child1 = "Toolbar1"
MinHeight1 = 330
Width1 = 3495
NewRow1 = 0 'False
Begin MSComctlLib.Toolbar Toolbar1
Height = 330
Left = 30
TabIndex = 2
Top = 30
Width = 10155
_ExtentX = 17912
_ExtentY = 582
ButtonWidth = 1984
ButtonHeight = 582
Style = 1
TextAlignment = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 5
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "签发单据"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "单据查询"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "统计报表"
ImageIndex = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出系统"
ImageIndex = 4
EndProperty
EndProperty
End
End
Begin MSComctlLib.StatusBar Bar1
Align = 2 'Align Bottom
Height = 345
Left = 0
TabIndex = 0
Top = 6015
Width = 10275
_ExtentX = 18124
_ExtentY = 609
Style = 1
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 1
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
EndProperty
End
Begin yfDNetMenu.DNetMenu DNetMenu1
Left = 2520
Top = 600
_ExtentX = 847
_ExtentY = 847
BmpCount = 4
Bmp:1 = "Car.frx":A8433
Mask:1 = 11903636
Key:1 = "#menu1_1"
Bmp:2 = "Car.frx":A885B
Key:2 = "#menu1_2"
Bmp:3 = "Car.frx":A8C83
Key:3 = "#menu2_6"
Bmp:4 = "Car.frx":A90AB
Key:4 = "#menu1_3"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Menu menu_1
Caption = "日常管理"
Begin VB.Menu menu1_1
Caption = "派车单签发"
End
Begin VB.Menu menu1_2
Caption = "派车单查询"
End
Begin VB.Menu line1
Caption = "-"
End
Begin VB.Menu menu1_3
Caption = "报表管理"
End
End
Begin VB.Menu menu_2
Caption = "系统维护"
Begin VB.Menu menu2_1
Caption = "车辆信息管理"
End
Begin VB.Menu menu2_2
Caption = "销售商管理"
End
Begin VB.Menu menu2_4
Caption = "产品信息库"
End
Begin VB.Menu menu2_5
Caption = "配发商品信息库"
End
Begin VB.Menu line2
Caption = "-"
End
Begin VB.Menu menu2_6
Caption = "操作员管理"
End
End
Begin VB.Menu menu_exit
Caption = "退出系统"
End
End
Attribute VB_Name = "Car"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private IsLogin As Boolean
Private Sub Command1_Click()
menu1_1_Click
End Sub
Private Sub Command2_Click()
menu1_2_Click
End Sub
Private Sub Command3_Click()
menu1_3_Click
'Drep.Show
End Sub
Private Sub Command4_Click()
Sys.Show
'hwlist.Show
End Sub
Private Sub Command5_Click()
Unload Me
End Sub
Private Sub MDIForm_Activate()
If IsLogin = False Then
IsLogin = True
Me.Bar1.SimpleText = Me.Bar1.SimpleText + " 操作员:" + Loguser
End If
End Sub
Private Sub MDIForm_Load()
Bar1.SimpleText = "宣城酒业有限公司业务管理系统 软件开发:宣城庆平网络科技 电话:13905635757 网址:http://www.ahxc.net"
End Sub
Private Sub MDIForm_Resize()
MDIPicSize1.PicSize
End Sub
Private Sub MDIForm_Unload(Cancel As Integer)
On Error Resume Next
Dim i As Integer
For i = 0 To Forms.Count - 1
Unload Forms(i)
Next
End Sub
Private Sub menu_exit_Click()
Unload Me
End Sub
Private Sub menu1_1_Click()
If Flags(0) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
Addt.Show
End Sub
Private Sub menu1_2_Click()
If Flags(1) <> "1" And Flags(0) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
hlist.Show
End Sub
Private Sub menu1_3_Click()
If Flags(5) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
tjrep.Show
End Sub
Private Sub menu2_1_Click()
If Flags(6) <> "1" And Flags(7) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
cylist.Show
End Sub
Private Sub menu2_2_Click()
If Flags(6) <> "1" And Flags(7) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
sjlist.Show
End Sub
Private Sub menu2_4_Click()
If Flags(6) <> "1" And Flags(7) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
hxlist.Show
End Sub
Private Sub menu2_5_Click()
If Flags(6) <> "1" And Flags(7) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
phlist.Show
End Sub
Private Sub menu2_6_Click()
If Flags(8) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
Admin.Show
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button
Case "退出系统"
Unload Me
Case "签发单据"
menu1_1_Click
Case "单据查询"
menu1_2_Click
Case "统计报表"
menu1_3_Click
End Select
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -