📄 mainform.frm
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "Msflxgrd.ocx"
Begin VB.Form MainForm
Caption = "Dial:Demo for Trunk & Station"
ClientHeight = 4590
ClientLeft = 60
ClientTop = 345
ClientWidth = 8235
LinkTopic = "Form1"
ScaleHeight = 4590
ScaleWidth = 8235
StartUpPosition = 3 'Windows Default
Begin VB.TextBox Text1
Height = 375
Left = 2400
TabIndex = 4
Text = "4"
Top = 3840
Width = 1335
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 10
Left = 7440
Top = 120
End
Begin VB.CommandButton Command1
Caption = "Exit"
Height = 375
Left = 6240
TabIndex = 1
Top = 3960
Width = 1695
End
Begin MSFlexGridLib.MSFlexGrid TrkChGrid
Height = 3015
Left = 120
TabIndex = 0
Top = 600
Width = 3975
_ExtentX = 7011
_ExtentY = 5318
_Version = 393216
Appearance = 0
End
Begin MSFlexGridLib.MSFlexGrid UserChGrid
Height = 3015
Left = 4320
TabIndex = 2
Top = 600
Width = 3615
_ExtentX = 6376
_ExtentY = 5318
_Version = 393216
Appearance = 0
End
Begin VB.Label Label2
Caption = "CalledId Length:"
Height = 255
Left = 960
TabIndex = 3
Top = 3960
Width = 1335
End
End
Attribute VB_Name = "MainForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim VerMsg As String * 100
If InitCtiBoard() = False Then Exit Sub
Call InitTrunkChGrid
Call InitUserChGrid
Timer1.Enabled = True
End Sub
Private Sub Form_Unload(Cancel As Integer)
Call SsmCloseCti
End Sub
Private Sub Timer1_Timer()
Call DoUserWork
Call DrawUserChState
Call DrawTrunkChState
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -