frmMain.frm
资源名称:2005.rar [点击查看]
上传用户:salesll
上传日期:2014-07-25
资源大小:2665k
文件大小:9k
源码类别:
交通/航空行业
开发平台:
Others
- VERSION 5.00
- Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
- Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
- Begin VB.MDIForm frmMain
- BackColor = &H8000000C&
- Caption = "车辆管理系统"
- ClientHeight = 9825
- ClientLeft = 165
- ClientTop = 240
- ClientWidth = 10470
- LinkTopic = "MDIForm1"
- Picture = "frmMain.frx":0000
- StartUpPosition = 2 '屏幕中心
- WindowState = 2 'Maximized
- Begin MSComctlLib.Toolbar tbToolBar
- Align = 1 'Align Top
- Height = 420
- Left = 0
- TabIndex = 1
- Top = 0
- Width = 10470
- _ExtentX = 18468
- _ExtentY = 741
- ButtonWidth = 609
- ButtonHeight = 582
- Appearance = 1
- ImageList = "imlToolbarIcons"
- _Version = 393216
- BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
- NumButtons = 3
- BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
- Key = "x13"
- ImageKey = "x13"
- BeginProperty ButtonMenus {66833FEC-8583-11D1-B16A-00C0F0283628}
- NumButtonMenus = 1
- BeginProperty ButtonMenu1 {66833FEE-8583-11D1-B16A-00C0F0283628}
- EndProperty
- EndProperty
- EndProperty
- BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
- Key = "x11"
- ImageKey = "x11"
- EndProperty
- BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
- Key = "x12"
- ImageKey = "x12"
- EndProperty
- EndProperty
- End
- Begin MSComctlLib.StatusBar sbStatusBar
- Align = 2 'Align Bottom
- Height = 270
- Left = 0
- TabIndex = 0
- Top = 9555
- Width = 10470
- _ExtentX = 18468
- _ExtentY = 476
- _Version = 393216
- BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
- NumPanels = 3
- BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- AutoSize = 1
- Object.Width = 12806
- Text = "状态"
- TextSave = "状态"
- EndProperty
- BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- Style = 6
- AutoSize = 2
- TextSave = "2007-6-19"
- EndProperty
- BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- Style = 5
- AutoSize = 2
- TextSave = "23:47"
- EndProperty
- EndProperty
- End
- Begin MSComDlg.CommonDialog dlgCommonDialog
- Index = 0
- Left = 2160
- Top = 600
- _ExtentX = 847
- _ExtentY = 847
- _Version = 393216
- End
- Begin MSComctlLib.ImageList imlToolbarIcons
- Left = 1680
- Top = 1920
- _ExtentX = 1005
- _ExtentY = 1005
- BackColor = -2147483643
- ImageWidth = 16
- ImageHeight = 16
- MaskColor = 12632256
- _Version = 393216
- BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
- NumListImages = 3
- BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "frmMain.frx":38A16
- Key = "x13"
- EndProperty
- BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "frmMain.frx":38F68
- Key = "x11"
- EndProperty
- BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "frmMain.frx":39692
- Key = "x12"
- EndProperty
- EndProperty
- End
- Begin MSComDlg.CommonDialog dlgCommonDialog
- Index = 1
- Left = 0
- Top = 0
- _ExtentX = 847
- _ExtentY = 847
- _Version = 393216
- End
- Begin MSComDlg.CommonDialog dlgCommonDialog
- Index = 2
- Left = 0
- Top = 0
- _ExtentX = 847
- _ExtentY = 847
- _Version = 393216
- End
- Begin MSComDlg.CommonDialog dlgCommonDialog
- Index = 3
- Left = 0
- Top = 0
- _ExtentX = 847
- _ExtentY = 847
- _Version = 393216
- End
- Begin MSComDlg.CommonDialog dlgCommonDialog
- Index = 4
- Left = 0
- Top = 0
- _ExtentX = 847
- _ExtentY = 847
- _Version = 393216
- End
- Begin MSComDlg.CommonDialog dlgCommonDialog
- Index = 5
- Left = 0
- Top = 0
- _ExtentX = 847
- _ExtentY = 847
- _Version = 393216
- End
- Begin VB.Menu mnu车辆管理
- Caption = "车辆管理"
- Begin VB.Menu mnu车辆管理车辆管理档案添加
- Caption = "车辆管理档案添加"
- End
- Begin VB.Menu mnu车辆管理车辆档案查询修改
- Caption = "车辆档案查询修改"
- End
- Begin VB.Menu mnu车辆管理车辆维修
- Caption = "车辆维修"
- End
- End
- Begin VB.Menu mnu车辆运营管理
- Caption = "车辆运营管理"
- Begin VB.Menu mnu车辆运营管理车辆运营添加
- Caption = "车辆运营添加"
- End
- Begin VB.Menu mnu车辆运营管理车辆运营查询修改
- Caption = "车辆运营查询修改"
- End
- End
- Begin VB.Menu mnu司机管理
- Caption = "司机管理"
- Begin VB.Menu mnu司机管理司机档案添加
- Caption = "司机档案添加"
- End
- Begin VB.Menu mnu司机管理司机档案查询修改
- Caption = "司机档案查询修改"
- End
- End
- Begin VB.Menu mnu系统管理
- Caption = "系统管理"
- Begin VB.Menu mnu系统管理管理员设置
- Caption = "管理员设置"
- End
- End
- Begin VB.Menu mnu关于
- Caption = "关于"
- End
- End
- Attribute VB_Name = "frmMain"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub MDIForm_Load()
- Me.Left = GetSetting(App.Title, "Settings", "MainLeft", 1000)
- Me.Top = GetSetting(App.Title, "Settings", "MainTop", 1000)
- Me.Width = GetSetting(App.Title, "Settings", "MainWidth", 6500)
- Me.Height = GetSetting(App.Title, "Settings", "MainHeight", 6500)
- 'LoadNewDoc
- End Sub
- Private Sub LoadNewDoc()
- Static lDocumentCount As Long
- Dim frmD As frmDocument
- lDocumentCount = lDocumentCount + 1
- Set frmD = New frmDocument
- frmD.Caption = "Document " & lDocumentCount
- frmD.Show
- End Sub
- Private Sub MDIForm_Unload(Cancel As Integer)
- If Me.WindowState <> vbMinimized Then
- SaveSetting App.Title, "Settings", "MainLeft", Me.Left
- SaveSetting App.Title, "Settings", "MainTop", Me.Top
- SaveSetting App.Title, "Settings", "MainWidth", Me.Width
- SaveSetting App.Title, "Settings", "MainHeight", Me.Height
- End If
- End Sub
- Private Sub mnu关于_Click()
- frmAbout.Show
- End Sub
- Private Sub tbToolBar_ButtonClick(ByVal Button As MSComCtlLib.Button)
- On Error Resume Next
- Select Case Button.Key
- Case "x13"
- Call mnu车辆管理车辆管理档案添加_Click
- ' MsgBox "添加 'x13' 按钮代码。"
- Case "x11"
- Call mnu车辆运营管理车辆运营添加_Click
- Case "x12"
- Call mnu司机管理司机档案添加_Click
- End Select
- End Sub
- Private Sub mnu系统管理管理员设置_Click()
- Form9.Show
- End Sub
- Private Sub mnu司机管理司机档案查询修改_Click()
- Form8.Show
- End Sub
- Private Sub mnu司机管理司机档案添加_Click()
- Form7.Show
- End Sub
- Private Sub mnu车辆运营管理车辆运营查询修改_Click()
- Form6.Show
- End Sub
- Private Sub mnu车辆运营管理车辆运营添加_Click()
- Form5.Show
- End Sub
- Private Sub mnu车辆管理车辆维修_Click()
- Form4.Show
- End Sub
- Private Sub mnu车辆管理车辆档案查询修改_Click()
- Form3.Show
- End Sub
- Private Sub mnu车辆管理车辆管理档案添加_Click()
- Form2.Show
- End Sub