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

📄 form2.frm

📁 很棒 考虑很周全 适合大家学习 页面很漂亮 可以作为良师益友 谢谢大家支持
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form2 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   " 课程选择"
   ClientHeight    =   2730
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4005
   Icon            =   "Form2.frx":0000
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2730
   ScaleWidth      =   4005
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   345
      Left            =   2220
      TabIndex        =   2
      Top             =   2250
      Width           =   1305
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确定"
      Height          =   345
      Left            =   300
      TabIndex        =   1
      Top             =   2250
      Width           =   1305
   End
   Begin VB.ListBox List1 
      Height          =   2040
      Left            =   60
      TabIndex        =   0
      Top             =   30
      Width           =   3855
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Command1_Click()
    form1.Label18.Caption = List1.ListIndex   '00文件名
    'MsgBox App.Path & "\" & Form1.Label17.Caption & "\" & Form1.Label18.Caption & ".txt"
    Unload Me

    If form1.Picture5.Visible = True Then '标准键盘
        form1.dr
        form1.tttt
        form1.Text1.SetFocus
        Exit Sub
    End If

End Sub

Private Sub Command2_Click()

    Unload Me
End Sub

Private Sub Form_Load()

    List1.AddItem "键位练习课程1:asdf jkl"
    List1.AddItem "键位练习课程2:e i"
    List1.AddItem "键位练习课程3:r u"

    List1.ListIndex = 0
End Sub

Private Sub Form_Unload(Cancel As Integer)
    If form1.Visible = True Then
        If form1.Label28.Caption = "end" Then form1.tttt

    End If

End Sub

Private Sub List1_DblClick()
    Call Command1_Click
End Sub

Private Sub List1_KeyPress(KeyAscii As Integer)
    If KeyAscii = 13 Then Command1.SetFocus
End Sub

⌨️ 快捷键说明

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