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

📄 playlist.frm

📁 两个VB播放器 两个VB播放器 两个VB播放器 两个VB播放器
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Dialog5 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "新建播放列表"
   ClientHeight    =   1560
   ClientLeft      =   2760
   ClientTop       =   3750
   ClientWidth     =   4080
   Icon            =   "PlayList.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1560
   ScaleWidth      =   4080
   ShowInTaskbar   =   0   'False
   Begin VB.CommandButton Command3 
      Caption         =   "添加文件(&A)"
      Height          =   375
      Left            =   120
      TabIndex        =   4
      Top             =   1080
      Width           =   1095
   End
   Begin VB.TextBox Text1 
      BeginProperty Font 
         Name            =   "Fixedsys"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   1560
      TabIndex        =   3
      Text            =   "Text1"
      Top             =   240
      Width           =   2415
   End
   Begin VB.CommandButton Command2 
      Caption         =   "退出(&E)"
      Height          =   375
      Left            =   2760
      TabIndex        =   1
      Top             =   1080
      Width           =   1095
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确定(&Q)"
      Height          =   375
      Left            =   1440
      TabIndex        =   0
      Top             =   1080
      Width           =   975
   End
   Begin VB.Label Label2 
      Caption         =   "注意:必需输入播放列表列表名"
      ForeColor       =   &H00FF00FF&
      Height          =   255
      Left            =   1320
      TabIndex        =   5
      Top             =   720
      Width           =   2535
   End
   Begin VB.Label Label1 
      Caption         =   "请输入播放列表名"
      Height          =   375
      Left            =   0
      TabIndex        =   2
      Top             =   360
      Width           =   1575
   End
End
Attribute VB_Name = "Dialog5"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Command1_Click()
  On Error Resume Next
   For i = 0 To Form6.List2.ListCount - 1
     If Form6.List2.list(i) = Text1.Text Then
        MsgBox "请输入别的列表名", vbInformation, "提示"
     Exit Sub
     End If
   Next i
   Form6.List2.AddItem Text1.Text
   Form6.Label11.Caption = "播放列表数:" & List2.ListCount
   Form6.Label9.Caption = "文件数:" & List1.ListCount
   Unload Me
End Sub

Private Sub Command2_Click()
  Unload Me
End Sub

Private Sub Command3_Click()
 On Error Resume Next
 For i = 0 To Form6.List2.ListCount - 1
     If Form6.List2.list(i) = Text1.Text Then
        MsgBox "请输入别的列表名", vbInformation, "提示"
     Exit Sub
     End If
 Next i
 Form6.List2.AddItem Text1.Text
 Form6.Label11.Caption = "播放列表数:" & List2.ListCount
 Form6.Label9.Caption = "文件数:" & List1.ListCount
 Dialog6.Show
 Dialog6.SetFocus
End Sub

Private Sub Form_Load()
  Text1.Text = ""
End Sub

Private Sub Text1_DblClick()
  Text1.SelStart = 0
  Text1.SelLength = Len(Text1.Text)
End Sub

⌨️ 快捷键说明

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