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

📄 form3.frm

📁 电话的程序 可视化 可以实现通话 有兴趣
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form3 
   BackColor       =   &H00FFC0C0&
   Caption         =   "刘巍"
   ClientHeight    =   3315
   ClientLeft      =   5055
   ClientTop       =   435
   ClientWidth     =   3090
   LinkTopic       =   "Form3"
   ScaleHeight     =   3315
   ScaleWidth      =   3090
   Begin VB.TextBox ring 
      Height          =   375
      Left            =   1320
      TabIndex        =   16
      Text            =   "n"
      Top             =   6960
      Width           =   495
   End
   Begin VB.TextBox oi 
      Height          =   390
      Left            =   480
      TabIndex        =   15
      Text            =   "o"
      Top             =   6960
      Width           =   420
   End
   Begin VB.TextBox Text1 
      BackColor       =   &H8000000E&
      BeginProperty Font 
         Name            =   "楷体_GB2312"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   960
      Left            =   360
      Locked          =   -1  'True
      MultiLine       =   -1  'True
      TabIndex        =   0
      TabStop         =   0   'False
      Top             =   120
      Width           =   2315
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "1"
      Height          =   255
      Left            =   360
      TabIndex        =   14
      Top             =   1800
      Width           =   615
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "2"
      Height          =   255
      Left            =   1200
      TabIndex        =   13
      Top             =   1800
      Width           =   615
   End
   Begin VB.Label Label3 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "3"
      Height          =   255
      Left            =   2040
      TabIndex        =   12
      Top             =   1800
      Width           =   615
   End
   Begin VB.Label Label4 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "4"
      Height          =   255
      Left            =   360
      TabIndex        =   11
      Top             =   2160
      Width           =   615
   End
   Begin VB.Label Label5 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "5"
      Height          =   255
      Left            =   1200
      TabIndex        =   10
      Top             =   2160
      Width           =   615
   End
   Begin VB.Label Label6 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "6"
      Height          =   255
      Left            =   2040
      TabIndex        =   9
      Top             =   2160
      Width           =   615
   End
   Begin VB.Label Label7 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "7"
      Height          =   255
      Left            =   360
      TabIndex        =   8
      Top             =   2520
      Width           =   615
   End
   Begin VB.Label Label8 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "8"
      Height          =   255
      Left            =   1200
      TabIndex        =   7
      Top             =   2520
      Width           =   615
   End
   Begin VB.Label Label9 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "9"
      Height          =   255
      Left            =   2040
      TabIndex        =   6
      Top             =   2520
      Width           =   615
   End
   Begin VB.Label Label10 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "*"
      Height          =   255
      Left            =   360
      TabIndex        =   5
      Top             =   2880
      Width           =   615
   End
   Begin VB.Label Label11 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "0"
      Height          =   255
      Left            =   1200
      TabIndex        =   4
      Top             =   2880
      Width           =   615
   End
   Begin VB.Label Label12 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "#"
      Height          =   255
      Left            =   2040
      TabIndex        =   3
      Top             =   2880
      Width           =   615
   End
   Begin VB.Label Label13 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "拨号"
      Height          =   375
      Left            =   360
      TabIndex        =   2
      Top             =   1320
      Width           =   735
   End
   Begin VB.Label Label14 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      Caption         =   "挂机"
      Height          =   375
      Left            =   1800
      TabIndex        =   1
      Top             =   1320
      Width           =   855
   End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Dim num As Integer
num = 3
End Sub

Private Sub Label1_Click()
Text1.Text = Text1.Text & "1"
End Sub

Private Sub Label10_Click()
Text1.Text = Text1.Text & "*"
End Sub

Private Sub Label11_Click()
Text1.Text = Text1.Text & "0"
End Sub

Private Sub Label12_Click()
Text1.Text = Text1.Text & "#"
End Sub



Private Sub Label13_Click()
If oi = "o" Then
    Form1.inport = 3
    Text1.Visible = True
ElseIf oi = "i" Then
    Form1.connect = "y"
End If
End Sub


Private Sub Label14_Click()
If oi = "o" Then
    Form1.inport = "!"
    Text1.Text = ""
    Text1.Visible = False
ElseIf oi = "i" Then
    Form1.connect = "n"
    Text1.Text = ""
    Text1.FontSize = 40
    Text1.Visible = False
    oi = "o"
End If
End Sub

Private Sub Label2_Click()
Text1.Text = Text1.Text & "2"
End Sub

Private Sub Label3_Click()
Text1.Text = Text1.Text & "3"
End Sub

Private Sub Label4_Click()
Text1.Text = Text1.Text & "4"
End Sub


Private Sub Label5_Click()
Text1.Text = Text1.Text & "5"
End Sub

Private Sub Label6_Click()
Text1.Text = Text1.Text & "6"
End Sub

Private Sub Label7_Click()
Text1.Text = Text1.Text & "7"
End Sub

Private Sub Label8_Click()
Text1.Text = Text1.Text & "8"
End Sub

Private Sub Label9_Click()
Text1.Text = Text1.Text & "9"
End Sub

Private Sub ring_Change()
If ring = "y" Then
oi = "i"
Text1.Visible = True
Text1.FontSize = 24
Text1.Text = "来电话啦!"
End If
End Sub

Private Sub Text1_Change()
If Form1.allowdial = 1 Then Form1.Text2 = Text1.Text
End Sub

⌨️ 快捷键说明

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