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

📄 frmcomport.frm

📁 VB与单片机通信实现智能照明温度控制示例 包括Vb代码和C代码
💻 FRM
字号:
VERSION 5.00
Begin VB.Form FrmComPort 
   Caption         =   "端口选择"
   ClientHeight    =   3090
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   ScaleHeight     =   3090
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command1 
      Caption         =   "确定"
      Height          =   495
      Left            =   1680
      TabIndex        =   1
      Top             =   1800
      Width           =   1215
   End
   Begin VB.ComboBox Combo1 
      Height          =   300
      Left            =   1440
      TabIndex        =   0
      Text            =   "Combo1"
      Top             =   840
      Width           =   1695
   End
End
Attribute VB_Name = "FrmComPort"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public ComPort As Byte
Private Sub Command1_Click()
    ComPort = Combo1.ListIndex + 1
    Unload Me
End Sub

Private Sub Form_Load()
For i = 1 To 9
    Combo1.AddItem i
Next i
    Combo1.ListIndex = 0
End Sub

⌨️ 快捷键说明

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