⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 busmanage.frm

📁 这个是利用地理信息系统组件MO做的武汉道路污染源强的分析系统。
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "msadodc.ocx"
Begin VB.Form busmanage 
   Caption         =   "Form2"
   ClientHeight    =   4245
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   6060
   LinkTopic       =   "Form2"
   ScaleHeight     =   4245
   ScaleWidth      =   6060
   StartUpPosition =   3  '窗口缺省
   Begin VB.Frame Frame2 
      Caption         =   "车辆属性修改"
      Height          =   3495
      Left            =   3240
      TabIndex        =   24
      Top             =   5040
      Visible         =   0   'False
      Width           =   4215
      Begin VB.CommandButton Command10 
         Caption         =   "重置"
         Height          =   375
         Left            =   2400
         TabIndex        =   31
         Top             =   2880
         Width           =   1095
      End
      Begin VB.CommandButton Command9 
         Caption         =   "修改"
         Height          =   375
         Left            =   1200
         TabIndex        =   30
         Top             =   2880
         Width           =   1095
      End
      Begin VB.TextBox Text5 
         Height          =   375
         Left            =   1440
         TabIndex        =   26
         Text            =   "Text5"
         Top             =   480
         Width           =   975
      End
      Begin VB.TextBox Text6 
         Height          =   375
         Left            =   1440
         TabIndex        =   25
         Text            =   "Text6"
         Top             =   1200
         Width           =   975
      End
      Begin VB.Label Label1 
         Caption         =   "车辆编号:"
         Height          =   255
         Left            =   240
         TabIndex        =   28
         Top             =   600
         Width           =   1095
      End
      Begin VB.Label Label2 
         Caption         =   "更换司机:"
         Height          =   255
         Left            =   240
         TabIndex        =   27
         Top             =   1320
         Width           =   975
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "新增车辆"
      Height          =   3495
      Left            =   0
      TabIndex        =   13
      Top             =   720
      Visible         =   0   'False
      Width           =   4215
      Begin VB.TextBox Text4 
         Height          =   615
         Left            =   1320
         TabIndex        =   23
         Text            =   "Text4"
         Top             =   2760
         Width           =   1575
      End
      Begin VB.TextBox Text3 
         Height          =   615
         Left            =   1320
         TabIndex        =   22
         Text            =   "Text3"
         Top             =   1920
         Width           =   1575
      End
      Begin VB.TextBox Text2 
         Height          =   615
         Left            =   1320
         TabIndex        =   21
         Text            =   "Text2"
         Top             =   1080
         Width           =   1575
      End
      Begin VB.TextBox Text1 
         DataField       =   "id"
         Height          =   615
         Left            =   1320
         TabIndex        =   20
         Text            =   "text1"
         Top             =   240
         Width           =   1575
      End
      Begin VB.CommandButton Command4 
         Caption         =   "车辆性质"
         Height          =   615
         Left            =   240
         TabIndex        =   19
         Top             =   2760
         Width           =   855
      End
      Begin VB.CommandButton Command3 
         Caption         =   "司机年龄"
         Height          =   615
         Left            =   240
         TabIndex        =   18
         Top             =   1920
         Width           =   855
      End
      Begin VB.CommandButton Command2 
         Caption         =   "司机姓名"
         Height          =   615
         Left            =   240
         TabIndex        =   17
         Top             =   1080
         Width           =   855
      End
      Begin VB.CommandButton Command1 
         Caption         =   "车辆编号"
         Height          =   615
         Left            =   240
         TabIndex        =   16
         Top             =   240
         Width           =   855
      End
      Begin VB.CommandButton Command7 
         Caption         =   "重置"
         Height          =   615
         Left            =   3000
         TabIndex        =   15
         Top             =   2760
         Width           =   1095
      End
      Begin VB.CommandButton Command8 
         Caption         =   "添加"
         Height          =   495
         Left            =   3000
         TabIndex        =   14
         Top             =   1920
         Width           =   1095
      End
   End
   Begin VB.Frame Frame3 
      Caption         =   "查看车辆性质"
      Height          =   3495
      Left            =   120
      TabIndex        =   8
      Top             =   5040
      Width           =   4215
      Begin VB.ComboBox Combo1 
         Height          =   300
         Left            =   1800
         TabIndex        =   10
         Text            =   "Combo1"
         Top             =   360
         Width           =   1455
      End
      Begin VB.TextBox Text7 
         Height          =   1935
         Left            =   600
         TabIndex        =   9
         Text            =   "Text7"
         Top             =   1200
         Width           =   2895
      End
      Begin VB.Label Label3 
         Caption         =   "选择你要查看的车辆编号:"
         Height          =   495
         Left            =   240
         TabIndex        =   12
         Top             =   360
         Width           =   1335
      End
      Begin VB.Label Label4 
         Caption         =   "车辆编号为 的信息"
         Height          =   255
         Left            =   960
         TabIndex        =   11
         Top             =   840
         Width           =   1575
      End
   End
   Begin VB.Frame Frame4 
      Caption         =   "车辆调度"
      Height          =   3495
      Left            =   4680
      TabIndex        =   4
      Top             =   4920
      Width           =   4215
      Begin VB.TextBox Text9 
         Height          =   2175
         Left            =   600
         TabIndex        =   6
         Text            =   "Text9"
         Top             =   720
         Width           =   2895
      End
      Begin VB.CommandButton Command5 
         Caption         =   "调度该车辆"
         Height          =   255
         Left            =   2760
         TabIndex        =   5
         Top             =   2640
         Width           =   1095
      End
      Begin VB.Label Label6 
         Caption         =   "此时可调度车辆列表:"
         Height          =   255
         Left            =   120
         TabIndex        =   7
         Top             =   360
         Width           =   1935
      End
   End
   Begin VB.Frame Frame5 
      Caption         =   "车辆位置跟踪"
      Height          =   3495
      Left            =   4680
      TabIndex        =   0
      Top             =   1200
      Width           =   4215
      Begin VB.TextBox Text10 
         Height          =   1815
         Left            =   480
         TabIndex        =   2
         Text            =   "Text8"
         Top             =   960
         Width           =   2775
      End
      Begin VB.CommandButton Command6 
         Caption         =   "查看该车辆现在位置"
         Height          =   375
         Left            =   1680
         TabIndex        =   1
         Top             =   2880
         Width           =   1935
      End
      Begin VB.Label Label7 
         Caption         =   "现在正送货车辆列表:"
         Height          =   375
         Left            =   120
         TabIndex        =   3
         Top             =   480
         Width           =   2055
      End
   End
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   330
      Left            =   4560
      Top             =   720
      Visible         =   0   'False
      Width           =   2040
      _ExtentX        =   3598
      _ExtentY        =   582
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   2
      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=E:\liuzhiyang\1组\bus.mdb;Mode=ReadWrite;Persist Security Info=False"
      OLEDBString     =   "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\liuzhiyang\1组\bus.mdb;Mode=ReadWrite;Persist Security Info=False"
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   "bus"
      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.TabStrip TabStrip1 
      Height          =   375
      Left            =   0
      TabIndex        =   29
      Top             =   0
      Width           =   5895
      _ExtentX        =   10398
      _ExtentY        =   661
      _Version        =   393216
      BeginProperty Tabs {1EFB6598-857C-11D1-B16A-00C0F0283628} 
         NumTabs         =   5
         BeginProperty Tab1 {1EFB659A-857C-11D1-B16A-00C0F0283628} 
            Caption         =   "新增车辆"
            Key             =   "addbus"
            Object.Tag             =   "当你购进新车后,新车入库吧"
            ImageVarType    =   2
         EndProperty
         BeginProperty Tab2 {1EFB659A-857C-11D1-B16A-00C0F0283628} 
            Caption         =   "车辆属性修改"
            Key             =   "busmodify"
            Object.Tag             =   "车辆属性修改"
            ImageVarType    =   2
         EndProperty
         BeginProperty Tab3 {1EFB659A-857C-11D1-B16A-00C0F0283628} 
            Caption         =   "查看车辆属性"
            Key             =   "busview"
            Object.Tag             =   "查看车辆属性"
            ImageVarType    =   2
         EndProperty
         BeginProperty Tab4 {1EFB659A-857C-11D1-B16A-00C0F0283628} 
            Caption         =   "可调度车辆"
            Key             =   "busdiaodu"
            Object.Tag             =   "可调度车辆"
            ImageVarType    =   2
         EndProperty
         BeginProperty Tab5 {1EFB659A-857C-11D1-B16A-00C0F0283628} 
            Caption         =   "车辆位置跟踪"
            Key             =   "busgenz"
            Object.Tag             =   "车辆位置跟踪"
            ImageVarType    =   2
         EndProperty
      EndProperty
   End
End
Attribute VB_Name = "busmanage"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command7_Click()
Adodc1.Recordset.AddNew

End Sub

Private Sub Command8_Click()
Adodc1.Recordset.Update
'Adodc1.RecordSource.Refresh
End Sub

Private Sub Form_Load()
TabStrip1.Tabs("addbus").Selected = True
Set Text1.DataSource = Adodc1
Text1.DataField = "id"
Set Text2.DataSource = Adodc1
Text2.DataField = "diver"
Set Text3.DataSource = Adodc1
Text3.DataField = "diverage"
Set Text4.DataSource = Adodc1
Text4.DataField = "id"
End Sub


Private Sub TabStrip1_Click()
Select Case TabStrip1.SelectedItem.Key
        
        Case "addbus"
             Frame1.Visible = True
             Frame2.Visible = False
             Frame3.Visible = False
             Frame4.Visible = False
             Frame5.Visible = False
       
        Case "busmodify"
             Frame1.Visible = False
             Frame2.Visible = True
             Frame3.Visible = False
             Frame4.Visible = False
             Frame5.Visible = False
      
       Case "busview"
            Frame1.Visible = False
            Frame2.Visible = False
            Frame3.Visible = True
            Frame4.Visible = False
            Frame5.Visible = False
      
       Case "busdiaodu"
            Frame1.Visible = False
            Frame2.Visible = False
            Frame3.Visible = False
            Frame4.Visible = True
            Frame5.Visible = False
       
       Case "busgenz"
            Frame1.Visible = False
            Frame2.Visible = False
            Frame3.Visible = False
            Frame4.Visible = False
            Frame5.Visible = True
      
      End Select
End Sub



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -