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

📄 frmstart.frm

📁 VB代码
💻 FRM
字号:
VERSION 5.00
Begin VB.Form FrmStart 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "联机"
   ClientHeight    =   2448
   ClientLeft      =   36
   ClientTop       =   324
   ClientWidth     =   5124
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2448
   ScaleWidth      =   5124
   StartUpPosition =   1  '所有者中心
   Visible         =   0   'False
   Begin VB.CommandButton CmdSetup 
      Caption         =   "配置系统"
      Height          =   372
      Index           =   1
      Left            =   1980
      TabIndex        =   1
      Top             =   1560
      Width           =   1092
   End
   Begin VB.CommandButton CmdOnLineRetry 
      Caption         =   "重 试"
      Height          =   372
      Index           =   2
      Left            =   3360
      TabIndex        =   2
      Top             =   1560
      Width           =   1092
   End
   Begin VB.CommandButton CmdOnLineOK 
      Caption         =   "确 定"
      Height          =   372
      Index           =   0
      Left            =   600
      TabIndex        =   0
      Top             =   1560
      Width           =   1092
   End
   Begin VB.Label lblErrDisp 
      Caption         =   "     联机测试未通过       请检查硬件连接与软件配置!"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   13.8
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H80000008&
      Height          =   612
      Left            =   720
      TabIndex        =   3
      Top             =   480
      Width           =   3612
   End
End
Attribute VB_Name = "FrmStart"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub CmdOnLineOK_Click(Index As Integer)
    Unload Me

End Sub
Private Sub CmdOnLineRetry_Click(Index As Integer)
    
    If (TestProgramDeviceHardWare()) Then
        Unload Me
    End If
 
End Sub

Private Sub CmdSetup_Click(Index As Integer)
    FrmMain.LblOperationInfoDisp.Caption = "正在查找串行通讯口,请稍候......"
    FrmMain.LblOperationInfoDisp.Refresh
    
    FrmOption.Show vbModal, FrmStart
    FrmMain.LblOperationInfoDisp.Caption = "设置操作完成"
 

End Sub

Private Sub Form_Load()
 FrmMain.MousePointer = vbNormal
End Sub

⌨️ 快捷键说明

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