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

📄 form1.vb

📁 Test a sample application
💻 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 + -