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

📄 frmalarm.frm

📁 SMS sender Source to nokia
💻 FRM
字号:
VERSION 5.00
Object = "{997F88E9-8CA8-4FD7-A3C6-F411CF22CD7C}#43.0#0"; "MFBUS15.OCX"
Begin VB.Form frmalarm 
   BorderStyle     =   0  'None
   ClientHeight    =   2415
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   6330
   BeginProperty Font 
      Name            =   "Arial"
      Size            =   15.75
      Charset         =   0
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Picture         =   "frmalarm.frx":0000
   ScaleHeight     =   2415
   ScaleWidth      =   6330
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Begin MFBUS15.MFBUS15Control MobileFBUSControl1 
      Height          =   480
      Left            =   5160
      TabIndex        =   4
      Top             =   360
      Visible         =   0   'False
      Width           =   480
      _ExtentX        =   847
      _ExtentY        =   847
   End
   Begin VB.TextBox txtTime 
      Alignment       =   2  'Center
      BackColor       =   &H00C0C0FF&
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   2400
      TabIndex        =   2
      Top             =   360
      Width           =   1575
   End
   Begin VB.PictureBox pExit 
      AutoSize        =   -1  'True
      BorderStyle     =   0  'None
      DrawMode        =   7  'Invert
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   405
      Left            =   720
      MouseIcon       =   "frmalarm.frx":31DB6
      MousePointer    =   99  'Custom
      Picture         =   "frmalarm.frx":320C0
      ScaleHeight     =   405
      ScaleWidth      =   1320
      TabIndex        =   1
      Top             =   1080
      Width           =   1320
   End
   Begin VB.PictureBox pset 
      AutoSize        =   -1  'True
      BorderStyle     =   0  'None
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   405
      Left            =   720
      MouseIcon       =   "frmalarm.frx":33CDA
      MousePointer    =   99  'Custom
      Picture         =   "frmalarm.frx":33FE4
      ScaleHeight     =   405
      ScaleWidth      =   1320
      TabIndex        =   0
      Top             =   360
      Width           =   1320
   End
   Begin VB.Label lblstatus 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00C0E0FF&
      Height          =   255
      Left            =   240
      TabIndex        =   5
      Top             =   1920
      Width           =   1695
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "Time"
      BeginProperty Font 
         Name            =   "Times New Roman"
         Size            =   14.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   -1  'True
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00C0E0FF&
      Height          =   255
      Left            =   2880
      TabIndex        =   3
      Top             =   840
      Width           =   735
   End
End
Attribute VB_Name = "frmalarm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
 MobileFBUSControl1.Connect "COM2"
 If MobileFBUSControl1.Connected Then
   lblstatus.Caption = "Connected"
 Else
   lblstatus.Caption = "Not Connected"
 End If
End Sub

Private Sub pExit_Click()
If MobileFBUSControl1.Connected Then
   MobileFBUSControl1.Disconnect
 End If
End
End Sub

Private Sub pset_Click()
   MobileFBUSControl1.AlarmTime = txtTime.Text
End Sub
Private Sub txtTime_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
  txtTime.Text = Format(txtTime.Text, "##:##")
End If
End Sub

⌨️ 快捷键说明

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