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

📄 mcuret.frm

📁 实现图像控制,云台解码器控制,站点选择(配有Access数据库).
💻 FRM
📖 第 1 页 / 共 3 页
字号:
   End
   Begin VB.Image key02 
      Height          =   240
      Index           =   3
      Left            =   1440
      Top             =   840
      Width           =   240
   End
   Begin VB.Image key02 
      Height          =   240
      Index           =   2
      Left            =   1080
      Top             =   840
      Width           =   240
   End
   Begin VB.Image key02 
      Height          =   240
      Index           =   1
      Left            =   720
      Top             =   840
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   16
      Left            =   6120
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   15
      Left            =   5760
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   14
      Left            =   5400
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   13
      Left            =   5040
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   12
      Left            =   4680
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   11
      Left            =   4320
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   10
      Left            =   3960
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   9
      Left            =   3600
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   8
      Left            =   3240
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   7
      Left            =   2880
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   6
      Left            =   2520
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   5
      Left            =   2160
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   4
      Left            =   1800
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   3
      Left            =   1440
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   2
      Left            =   1080
      Top             =   480
      Width           =   240
   End
   Begin VB.Image key01 
      Height          =   240
      Index           =   1
      Left            =   720
      Top             =   480
      Width           =   240
   End
   Begin VB.Label Label9 
      Caption         =   "out8"
      BeginProperty Font 
         Name            =   "System"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   120
      TabIndex        =   8
      Top             =   3000
      Width           =   495
   End
   Begin VB.Label Label8 
      Caption         =   "out7"
      BeginProperty Font 
         Name            =   "System"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   120
      TabIndex        =   7
      Top             =   2640
      Width           =   495
   End
   Begin VB.Label Label7 
      Caption         =   "out6"
      BeginProperty Font 
         Name            =   "System"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   120
      TabIndex        =   6
      Top             =   2280
      Width           =   495
   End
   Begin VB.Label Label6 
      Caption         =   "out5"
      BeginProperty Font 
         Name            =   "System"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   120
      TabIndex        =   5
      Top             =   1920
      Width           =   495
   End
   Begin VB.Label Label5 
      Caption         =   "out4"
      BeginProperty Font 
         Name            =   "System"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   120
      TabIndex        =   4
      Top             =   1560
      Width           =   495
   End
   Begin VB.Label Label4 
      Caption         =   "out3"
      BeginProperty Font 
         Name            =   "System"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   120
      TabIndex        =   3
      Top             =   1200
      Width           =   495
   End
   Begin VB.Label Label3 
      Caption         =   "out2"
      BeginProperty Font 
         Name            =   "System"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   120
      TabIndex        =   2
      Top             =   840
      Width           =   495
   End
   Begin VB.Label Label2 
      Caption         =   "out1"
      BeginProperty Font 
         Name            =   "System"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   120
      TabIndex        =   1
      Top             =   480
      Width           =   495
   End
   Begin VB.Label Label1 
      Caption         =   "In-->> 01  02  03  04  05  06  07  08  09  10  11  12  13  14  15  16"
      BeginProperty Font 
         Name            =   "System"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   6495
   End
End
Attribute VB_Name = "Frmmcuret"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Sub play()
    For i = 1 To 16
    Select Case mcur(0, i)
        Case 0
            key01(i).Picture = FrmRt3.bmp0.Picture
        Case 1
            key01(i).Picture = FrmRt3.bmp1.Picture
        Case 2
            key01(i).Picture = FrmRt3.bmp2.Picture
    End Select
    Next i
    For i = 1 To 16
    Select Case mcur(1, i)
        Case 0
            key02(i).Picture = FrmRt3.bmp0.Picture
        Case 1
            key02(i).Picture = FrmRt3.bmp1.Picture
        Case 2
            key02(i).Picture = FrmRt3.bmp2.Picture
    End Select
    Next i
    For i = 1 To 16
    Select Case mcur(2, i)
        Case 0
            key03(i).Picture = FrmRt3.bmp0.Picture
        Case 1
            key03(i).Picture = FrmRt3.bmp1.Picture
        Case 2
            key03(i).Picture = FrmRt3.bmp2.Picture
    End Select
    Next i
    For i = 1 To 16
    Select Case mcur(3, i)
        Case 0
            key04(i).Picture = FrmRt3.bmp0.Picture
        Case 1
            key04(i).Picture = FrmRt3.bmp1.Picture
        Case 2
            key04(i).Picture = FrmRt3.bmp2.Picture
    End Select
    Next i
    For i = 1 To 16
    Select Case mcur(4, i)
        Case 0
            key05(i).Picture = FrmRt3.bmp0.Picture
        Case 1
            key05(i).Picture = FrmRt3.bmp1.Picture
        Case 2
            key05(i).Picture = FrmRt3.bmp2.Picture
    End Select
    Next i
    For i = 1 To 16
    Select Case mcur(5, i)
        Case 0
            key06(i).Picture = FrmRt3.bmp0.Picture
        Case 1
            key06(i).Picture = FrmRt3.bmp1.Picture
        Case 2
            key06(i).Picture = FrmRt3.bmp2.Picture
    End Select
    Next i
    For i = 1 To 16
    Select Case mcur(6, i)
        Case 0
            key07(i).Picture = FrmRt3.bmp0.Picture
        Case 1
            key07(i).Picture = FrmRt3.bmp1.Picture
        Case 2
            key07(i).Picture = FrmRt3.bmp2.Picture
    End Select
    Next i
    For i = 1 To 16
    Select Case mcur(7, i)
        Case 0
            key08(i).Picture = FrmRt3.bmp0.Picture
        Case 1
            key08(i).Picture = FrmRt3.bmp1.Picture
        Case 2
            key08(i).Picture = FrmRt3.bmp2.Picture
    End Select
    Next i
End Sub

Private Sub Form_Load()
    flagm = 1
    play
End Sub

Private Sub Form_Unload(Cancel As Integer)
    flagm = 0
End Sub

⌨️ 快捷键说明

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