?? form2.frm
字號:
VERSION 5.00
Begin VB.Form Form2
BackColor = &H00FF0000&
Caption = "夏涼"
ClientHeight = 3240
ClientLeft = 60
ClientTop = 435
ClientWidth = 3015
BeginProperty Font
Name = "宋體"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form2"
ScaleHeight = 3240
ScaleWidth = 3015
Begin VB.Frame Frame1
Caption = "Frame1"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 15
Left = 960
TabIndex = 17
Top = 4080
Width = 495
End
Begin VB.TextBox ring
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1080
TabIndex = 16
Text = "n"
Top = 7080
Width = 495
End
Begin VB.TextBox oi
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 390
Left = 240
TabIndex = 15
Text = "o"
Top = 7080
Width = 540
End
Begin VB.TextBox Text1
BorderStyle = 0 'None
Enabled = 0 'False
BeginProperty Font
Name = "楷體_GB2312"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1095
Left = 360
Locked = -1 'True
MultiLine = -1 'True
TabIndex = 0
TabStop = 0 'False
Top = 120
Width = 2315
End
Begin VB.Label Label14
BorderStyle = 1 'Fixed Single
Caption = "掛機"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1920
TabIndex = 14
Top = 1320
Width = 735
End
Begin VB.Label Label13
BackColor = &H00FFFFFF&
BorderStyle = 1 'Fixed Single
Caption = "接聽"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 345
Left = 360
TabIndex = 1
Top = 1320
Width = 720
End
Begin VB.Label Label12
BorderStyle = 1 'Fixed Single
Caption = "#"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2040
TabIndex = 13
Top = 2880
Width = 615
End
Begin VB.Label Label11
BorderStyle = 1 'Fixed Single
Caption = "0"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1200
TabIndex = 12
Top = 2880
Width = 615
End
Begin VB.Label Label10
BorderStyle = 1 'Fixed Single
Caption = "*"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 360
TabIndex = 11
Top = 2880
Width = 615
End
Begin VB.Label Label9
BorderStyle = 1 'Fixed Single
Caption = "9"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2040
TabIndex = 10
Top = 2520
Width = 615
End
Begin VB.Label Label8
BorderStyle = 1 'Fixed Single
Caption = "8"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1200
TabIndex = 9
Top = 2520
Width = 615
End
Begin VB.Label Label7
BorderStyle = 1 'Fixed Single
Caption = "7"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 360
TabIndex = 8
Top = 2520
Width = 615
End
Begin VB.Label Label6
BorderStyle = 1 'Fixed Single
Caption = "6"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2040
TabIndex = 7
Top = 2160
Width = 615
End
Begin VB.Label Label5
BorderStyle = 1 'Fixed Single
Caption = "5"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1200
TabIndex = 6
Top = 2160
Width = 615
End
Begin VB.Label Label4
BorderStyle = 1 'Fixed Single
Caption = "4"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 360
TabIndex = 5
Top = 2160
Width = 615
End
Begin VB.Label Label3
BorderStyle = 1 'Fixed Single
Caption = "3"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2040
TabIndex = 4
Top = 1800
Width = 615
End
Begin VB.Label Label2
BorderStyle = 1 'Fixed Single
Caption = "2"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1200
TabIndex = 3
Top = 1800
Width = 615
End
Begin VB.Label Label1
BorderStyle = 1 'Fixed Single
Caption = "1"
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 360
TabIndex = 2
Top = 1800
Width = 615
End
End
Attribute VB_Name = "Form2"
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 = 2
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 = 2
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 + -