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

📄 资料查看.frm

📁 IC卡信息采集系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form SheZhi 
   Caption         =   "用户资料显示"
   ClientHeight    =   3585
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   5280
   LinkTopic       =   "Form2"
   LockControls    =   -1  'True
   ScaleHeight     =   3585
   ScaleWidth      =   5280
   StartUpPosition =   2  'CenterScreen
   Begin VB.Frame Frame1 
      Caption         =   "软件设置"
      Height          =   3375
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   5055
      Begin VB.CommandButton Command2 
         Caption         =   "取消"
         Height          =   375
         Left            =   3960
         TabIndex        =   4
         Top             =   2760
         Width           =   975
      End
      Begin VB.CommandButton Command1 
         Caption         =   "确定"
         Height          =   375
         Left            =   2760
         TabIndex        =   3
         Top             =   2760
         Width           =   975
      End
      Begin VB.ComboBox Combo1 
         Height          =   300
         Left            =   840
         TabIndex        =   2
         Text            =   "Combo1"
         Top             =   337
         Width           =   975
      End
      Begin VB.Label Label1 
         Caption         =   "COM口"
         Height          =   255
         Left            =   240
         TabIndex        =   1
         Top             =   360
         Width           =   735
      End
   End
End
Attribute VB_Name = "SheZhi"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()

Dim i As Integer

For i = 1 To 8
  If Combo1.Text = "COM" + Str(i) Then
    IcDev_Com = i
  End If
Next i
CaiJi.Show
Unload SheZhi

End Sub

Private Sub Command2_Click()
CaiJi.Show
Unload SheZhi

End Sub

Private Sub Form_Load()
IcDev_Com = 0

Combo1.AddItem ("COM1")
Combo1.AddItem ("COM2")
Combo1.AddItem ("COM3")
Combo1.AddItem ("COM4")
Combo1.AddItem ("COM5")
Combo1.AddItem ("COM6")
Combo1.AddItem ("COM7")
Combo1.AddItem ("COM8")
Combo1.Text = "COM1"

Dim i As Integer

For i = 1 To 8
  If Combo1.Text = "COM" + Str(i) Then
    IcDev_Com = i - 1
  End If
Next i

End Sub

⌨️ 快捷键说明

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