?? frmsetup.frm
字號:
VERSION 5.00
Begin VB.Form frmSetup
Caption = "設(shè)置"
ClientHeight = 2265
ClientLeft = 60
ClientTop = 345
ClientWidth = 5145
LinkTopic = "Form1"
ScaleHeight = 2265
ScaleWidth = 5145
StartUpPosition = 3 'Windows Default
Begin VB.Frame Frame1
Caption = "SMTP服務(wù)器設(shè)置"
BeginProperty Font
Name = "幼圓"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2175
Left = 0
TabIndex = 0
Top = 60
Width = 5115
Begin VB.CommandButton cmdQuit
Caption = "Cancel"
BeginProperty Font
Name = "幼圓"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 1
Left = 3480
TabIndex = 6
Top = 1620
Width = 1215
End
Begin VB.CommandButton cmdQuit
Caption = "OK"
BeginProperty Font
Name = "幼圓"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 0
Left = 2100
TabIndex = 5
Top = 1620
Width = 1215
End
Begin VB.TextBox txtPort
Appearance = 0 'Flat
BeginProperty Font
Name = "幼圓"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 1800
TabIndex = 2
Text = "80"
Top = 960
Width = 855
End
Begin VB.TextBox txtIp
Appearance = 0 'Flat
BeginProperty Font
Name = "幼圓"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 1800
TabIndex = 1
Top = 480
Width = 3015
End
Begin VB.Label Label2
Caption = "SMTP服務(wù)器端口:"
BeginProperty Font
Name = "幼圓"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 4
Top = 1020
Width = 1695
End
Begin VB.Label Label1
Caption = "SMTP服務(wù)器地址:"
BeginProperty Font
Name = "幼圓"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 3
Top = 480
Width = 1695
End
End
End
Attribute VB_Name = "frmSetup"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub cmdQuit_Click(Index As Integer)
If Index = 0 Then
smtp.ServerIp = txtIp.Text
smtp.ServerPort = CLng(txtPort.Text)
End If
Unload Me
End Sub
Private Sub Form_Load()
txtIp.Text = smtp.ServerIp
txtPort.Text = smtp.ServerPort
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -