telephonewatchform.frm

来自「个人VB学习源码精选,自己学习时的一些编程小程序,希望对大家有帮助」· FRM 代码 · 共 54 行

FRM
54
字号
VERSION 5.00
Begin VB.Form TelephoneWatchForm 
   Caption         =   "TelephoneListener"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton cmdModeless 
      Caption         =   "Show Modeless Form"
      Height          =   465
      Left            =   1485
      TabIndex        =   1
      Top             =   1440
      Width           =   1725
   End
   Begin VB.CommandButton cmdModal 
      Caption         =   "Show Modal Form"
      Height          =   465
      Left            =   1485
      TabIndex        =   0
      Top             =   315
      Width           =   1725
   End
End
Attribute VB_Name = "TelephoneWatchForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private WithEvents theTelephoneMonitor As TelephoneMonitor
Private mcctTest As CallBroker

Private Sub cmdModal_Click()
    theTelephoneMonitor.showForm cfeModal
End Sub

Private Sub cmdModeless_Click()
    theTelephoneMonitor.showForm cfeModeless
End Sub

Private Sub Form_Load()
    Set mcctTest = New CallBroker
    Set theTelephoneMonitor = mcctTest.TelephoneMonitor
End Sub

Private Sub theTelephoneMonitor_TelephoneReady()
    MsgBox "TELEPHONE!!!"
End Sub

⌨️ 快捷键说明

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