📄 form1.vb
字号:
Public Class Form1
Private Wbs As New SqlEmailWebs.Service
Private Sub btnSend_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSend.Click
Dim ret As String = ""
'call webservice
ret = Wbs.SendEmail(txtTo.Text, txtFrom.Text, txtCc.Text, txtSubject.Text, txtMsg.Text)
If ret = "OK" Then
MsgBox("The email was sent.", MsgBoxStyle.Information, "Notification")
Else
MsgBox("Error: " & ret)
End If
End Sub
End Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -