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

📄 form2.frm

📁 浪潮多媒体教室破解
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form2 
   BackColor       =   &H00FF0000&
   BorderStyle     =   1  'Fixed Single
   Caption         =   "选择路径"
   ClientHeight    =   3990
   ClientLeft      =   6735
   ClientTop       =   3945
   ClientWidth     =   3030
   Icon            =   "Form2.frx":0000
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3990
   ScaleWidth      =   3030
   Begin VB.CommandButton Command1 
      Caption         =   "完成配置"
      Height          =   375
      Left            =   600
      TabIndex        =   2
      Top             =   3480
      Width           =   1815
   End
   Begin VB.DirListBox Dir1 
      Height          =   2400
      Left            =   360
      TabIndex        =   1
      Top             =   960
      Width           =   2295
   End
   Begin VB.DriveListBox Drive1 
      Height          =   300
      Left            =   360
      TabIndex        =   0
      Top             =   480
      Width           =   2295
   End
   Begin VB.Label Label1 
      BackColor       =   &H00FF0000&
      Caption         =   "请选择浪潮多媒体软件的路径:"
      ForeColor       =   &H00FFFF00&
      Height          =   255
      Left            =   240
      TabIndex        =   3
      Top             =   240
      Width           =   2535
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Private Const HWND_TOPMOST = -1
Private Const SWP_SHOWWINDOWS = &H40
Private Sub Command1_Click()
stufile = Dir1.Path
SaveSetting "postu", "2.0", "stufile", stufile '写注册表Postu下的2.0下的Stufile
Form1.Enabled = True
MsgBox "请重新启动本软件!", vbInformation, "提示"
End
End Sub

Private Sub Drive1_Change()
On Error GoTo error1
Dir1.Path = Drive1.Drive
Exit Sub
error1:
MsgBox "驱动器门未打开!", vbCritical, "错误"
End Sub

Private Sub Form_Load()
Form1.Enabled = False
retValue = SetWindowPos(Me.hwnd, HWND_TOPMOST, Me.CurrentX + 300, Me.CurrentY + 180, 215, 300, SWP_SHOWWINDOWS)
End Sub

Private Sub Form_Unload(Cancel As Integer)
Form1.Enabled = True
End Sub

⌨️ 快捷键说明

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