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

📄 module1.bas

📁 TMS(小型票务管理VB+Access)
💻 BAS
字号:
Attribute VB_Name = "Module1"
Option Explicit
Declare Sub ReleaseCapture Lib "user32" ()
Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, _
        ByVal wMsg As Long, ByVal wParam As Integer, ByVal lParam As Long) As Long
Public Started As Boolean
Sub CenterForm(frm As Form)
    If Mainform.Picture1.Visible = True Then
        frm.Left = ((Mainform.Width - Mainform.Picture1.Width) - frm.Width) \ 2
    Else
        frm.Left = ((Mainform.Width) - frm.Width) \ 2
    End If
    frm.Top = (Mainform.ScaleHeight - frm.Height) \ 2
End Sub
Sub Main()
    ChDrive App.Path
    ChDir App.Path
    frmSplash.Show
End Sub

⌨️ 快捷键说明

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