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

📄 frmalmalert.frm

📁 一款漂亮的闹钟制作界面,希望能给你们带来帮助.
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmAlmAlert 
   BorderStyle     =   0  'None
   Caption         =   "提示"
   ClientHeight    =   2820
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   4230
   LinkTopic       =   "Form1"
   ScaleHeight     =   2820
   ScaleWidth      =   4230
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.Timer Timer1 
      Enabled         =   0   'False
      Interval        =   500
      Left            =   3240
      Top             =   2055
   End
   Begin VB.PictureBox Picture1 
      AutoSize        =   -1  'True
      BackColor       =   &H00DCC1AD&
      BorderStyle     =   0  'None
      Height          =   240
      Left            =   3165
      Picture         =   "frmAlmAlert.frx":0000
      ScaleHeight     =   240
      ScaleWidth      =   240
      TabIndex        =   1
      Top             =   60
      Width           =   240
   End
   Begin Reminder.XPContainer title 
      Height          =   2085
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   3570
      _ExtentX        =   6297
      _ExtentY        =   3678
      BackLightColor  =   16443612
      Begin VB.TextBox Text1 
         Appearance      =   0  'Flat
         BackColor       =   &H00FAE8DC&
         BorderStyle     =   0  'None
         Height          =   900
         Left            =   735
         Locked          =   -1  'True
         MultiLine       =   -1  'True
         TabIndex        =   3
         Text            =   "frmAlmAlert.frx":038A
         Top             =   600
         Width           =   2655
      End
      Begin Reminder.isButton isButton1 
         Height          =   345
         Left            =   1230
         TabIndex        =   2
         Top             =   1680
         Width           =   1065
         _ExtentX        =   1879
         _ExtentY        =   609
         Icon            =   "frmAlmAlert.frx":0390
         Style           =   8
         Caption         =   "确定"
         IconAlign       =   0
         iNonThemeStyle  =   0
         Tooltiptitle    =   ""
         ToolTipIcon     =   0
         ToolTipType     =   1
         ttForeColor     =   0
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "Verdana"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         MaskColor       =   0
      End
      Begin VB.Image Image1 
         Height          =   480
         Left            =   150
         Picture         =   "frmAlmAlert.frx":03AC
         Top             =   555
         Width           =   480
      End
   End
End
Attribute VB_Name = "frmAlmAlert"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim Played As Boolean
Dim iRe As String
Dim Ps As Long
Private Sub Form_Load()
Played = False
title.hhhw = Me.hwnd
Me.Width = title.Width
Me.Height = title.Height
AlwaysOnTop.AlwaysOnTop Me, True
MCISendString "close MyWav", vbNullString, 0, 0
MCISendString "open """ & SoundFile & """ alias MyWav", vbNullString, 0, 0
iRe = Space(1024)
End Sub ' wssccc's qq  151884336

Private Sub Form_Unload(Cancel As Integer)
MCISendString "stop MyWav", vbNullString, 0, 0
Played = False
Knew = True
frmHhlp.wssccc.Hide
End Sub ' wssccc's qq  151884336

Private Sub Image1_Click()
Unload Me
End Sub ' wssccc's qq  151884336

Private Sub Label1_Click()
Unload Me
End Sub ' wssccc's qq  151884336

Private Sub isButton1_Click()
Unload Me
End Sub ' wssccc's qq  151884336

Private Sub Picture1_Click()
Unload Me
End Sub ' wssccc's qq  151884336

Sub Play()
If Played = False Then
If PlaySound = True Then Timer1.Enabled = True: Timer1_Timer
Played = True
End If
End Sub ' wssccc's qq  151884336

Private Sub Timer1_Timer()
MCISendString "status MyWav position", iRe, 1024, 0

If Val(iRe) = Ps Then
MCISendString "play MyWav FROM 0", vbNullString, 0, 0
Else
Ps = Val(iRe)
End If
End Sub ' wssccc's qq  151884336

⌨️ 快捷键说明

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