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

📄 frmsplash1.frm

📁 该系统为空车计量系统.完成对空车的自动计量.附串口处理程序.
💻 FRM
字号:
VERSION 5.00
Begin VB.Form welcoming 
   BackColor       =   &H00C0E0FF&
   BorderStyle     =   3  'Fixed Dialog
   ClientHeight    =   5880
   ClientLeft      =   255
   ClientTop       =   1410
   ClientWidth     =   9030
   ClipControls    =   0   'False
   ControlBox      =   0   'False
   Icon            =   "frmSplash1.frx":0000
   KeyPreview      =   -1  'True
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5880
   ScaleWidth      =   9030
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.Frame Frame1 
      BackColor       =   &H00808000&
      Height          =   5370
      Left            =   120
      TabIndex        =   0
      Top             =   240
      Width           =   8760
      Begin VB.Timer Timer2 
         Interval        =   10000
         Left            =   480
         Top             =   2880
      End
      Begin VB.Timer Timer1 
         Interval        =   100
         Left            =   1800
         Top             =   360
      End
      Begin VB.Label Label3 
         BackStyle       =   0  'Transparent
         Caption         =   $"frmSplash1.frx":000C
         ForeColor       =   &H00404040&
         Height          =   375
         Left            =   960
         TabIndex        =   3
         Top             =   4920
         Width           =   3255
      End
      Begin VB.Image Image2 
         Height          =   705
         Left            =   240
         Picture         =   "frmSplash1.frx":002F
         Stretch         =   -1  'True
         Top             =   240
         Width           =   855
      End
      Begin VB.Label Label2 
         BackStyle       =   0  'Transparent
         Caption         =   $"frmSplash1.frx":0CB9
         ForeColor       =   &H00404040&
         Height          =   255
         Left            =   960
         TabIndex        =   2
         Top             =   4800
         Width           =   2535
      End
      Begin VB.Label Label1 
         Alignment       =   2  'Center
         BackStyle       =   0  'Transparent
         Caption         =   "重车计量分系统"
         BeginProperty Font 
            Name            =   "华文行楷"
            Size            =   21.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00FF0000&
         Height          =   495
         Left            =   2640
         TabIndex        =   1
         Top             =   3480
         Width           =   3735
      End
      Begin VB.Image Image1 
         Height          =   2055
         Left            =   360
         Picture         =   "frmSplash1.frx":0CDA
         Stretch         =   -1  'True
         Top             =   960
         Width           =   7935
      End
      Begin VB.Image imgLogo 
         Appearance      =   0  'Flat
         Height          =   705
         Left            =   240
         Picture         =   "frmSplash1.frx":3A66
         Stretch         =   -1  'True
         Top             =   240
         Width           =   855
      End
   End
End
Attribute VB_Name = "welcoming"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim ii As Integer
Dim returnstr As String * 128
Dim str1 As String * 128
Option Explicit



Private Sub Form_KeyPress(KeyAscii As Integer)
frmLogin.Show
    Unload Me
End Sub

Private Sub Form_Load()
On Error Resume Next
str1 = mciSendString("open " & App.Path & "\yls.rmi alias midi", returnstr, 128, 0)
'mciExecute "open midi"
mciExecute "play midi "
  
End Sub

Private Sub Form_Unload(Cancel As Integer)
mciExecute "close  midi "
frmLogin.Show

'Form1.Show
End Sub

Private Sub Frame1_Click()
    Unload Me
End Sub

Private Sub Image1_Click()
  Unload Me
End Sub

Private Sub Label1_Click()
  Unload Me
End Sub

Private Sub Timer1_Timer()
Image2.left = Image2.left + 40
imgLogo.left = imgLogo.left + 40
If imgLogo.left >= 7200 Then
Image2.left = -800
 imgLogo.left = -800
End If
Select Case ii
Case 0
Image2.Visible = True
imgLogo.Visible = False


ii = 1
Case 1
Image2.Visible = False
imgLogo.Visible = True

ii = 0
End Select


End Sub

Private Sub Timer2_Timer()
Unload Me
End Sub

⌨️ 快捷键说明

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