📄 form1.vb
字号:
Public Class Form1
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
Friend WithEvents OpenFileDialog1 As System.Windows.Forms.OpenFileDialog
Friend WithEvents MainMenu1 As System.Windows.Forms.MainMenu
Friend WithEvents mFile As System.Windows.Forms.MenuItem
Friend WithEvents mSend As System.Windows.Forms.MenuItem
Friend WithEvents mExit As System.Windows.Forms.MenuItem
Friend WithEvents mLetter As System.Windows.Forms.MenuItem
Friend WithEvents mAccessories As System.Windows.Forms.MenuItem
Friend WithEvents mFormat As System.Windows.Forms.MenuItem
Friend WithEvents mTxt As System.Windows.Forms.MenuItem
Friend WithEvents mHTML As System.Windows.Forms.MenuItem
Friend WithEvents Panel1 As System.Windows.Forms.Panel
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents RichTextBox1 As System.Windows.Forms.RichTextBox
Friend WithEvents TextBox2 As System.Windows.Forms.TextBox
Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents TextBox5 As System.Windows.Forms.TextBox
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents TextBox6 As System.Windows.Forms.TextBox
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents TextBox4 As System.Windows.Forms.TextBox
Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents Format1 As System.Windows.Forms.RadioButton
Friend WithEvents Format2 As System.Windows.Forms.RadioButton
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
Friend WithEvents Button4 As System.Windows.Forms.Button
Friend WithEvents mReset As System.Windows.Forms.MenuItem
Friend WithEvents mAbout As System.Windows.Forms.MenuItem
Friend WithEvents mHelp As System.Windows.Forms.MenuItem
'Required by the Windows Form Designer
Private components As System.ComponentModel.Container
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.ComboBox1 = New System.Windows.Forms.ComboBox()
Me.mHTML = New System.Windows.Forms.MenuItem()
Me.mAccessories = New System.Windows.Forms.MenuItem()
Me.mFormat = New System.Windows.Forms.MenuItem()
Me.mTxt = New System.Windows.Forms.MenuItem()
Me.TextBox2 = New System.Windows.Forms.TextBox()
Me.TextBox3 = New System.Windows.Forms.TextBox()
Me.mHelp = New System.Windows.Forms.MenuItem()
Me.mAbout = New System.Windows.Forms.MenuItem()
Me.TextBox6 = New System.Windows.Forms.TextBox()
Me.TextBox1 = New System.Windows.Forms.TextBox()
Me.TextBox4 = New System.Windows.Forms.TextBox()
Me.TextBox5 = New System.Windows.Forms.TextBox()
Me.mLetter = New System.Windows.Forms.MenuItem()
Me.Format2 = New System.Windows.Forms.RadioButton()
Me.MainMenu1 = New System.Windows.Forms.MainMenu()
Me.mFile = New System.Windows.Forms.MenuItem()
Me.mReset = New System.Windows.Forms.MenuItem()
Me.mSend = New System.Windows.Forms.MenuItem()
Me.mExit = New System.Windows.Forms.MenuItem()
Me.Label4 = New System.Windows.Forms.Label()
Me.Label5 = New System.Windows.Forms.Label()
Me.Format1 = New System.Windows.Forms.RadioButton()
Me.Label7 = New System.Windows.Forms.Label()
Me.Button1 = New System.Windows.Forms.Button()
Me.Button2 = New System.Windows.Forms.Button()
Me.Label3 = New System.Windows.Forms.Label()
Me.OpenFileDialog1 = New System.Windows.Forms.OpenFileDialog()
Me.Panel1 = New System.Windows.Forms.Panel()
Me.Label6 = New System.Windows.Forms.Label()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.RichTextBox1 = New System.Windows.Forms.RichTextBox()
Me.Button4 = New System.Windows.Forms.Button()
Me.Button3 = New System.Windows.Forms.Button()
Me.Panel1.SuspendLayout()
Me.SuspendLayout()
'
'ComboBox1
'
Me.ComboBox1.DropDownWidth = 121
Me.ComboBox1.Location = New System.Drawing.Point(80, 72)
Me.ComboBox1.Name = "ComboBox1"
Me.ComboBox1.Size = New System.Drawing.Size(121, 20)
Me.ComboBox1.TabIndex = 5
Me.ComboBox1.Text = "中"
'
'mHTML
'
Me.mHTML.Index = 1
Me.mHTML.RadioCheck = True
Me.mHTML.Text = "HTML格式(&H)"
'
'mAccessories
'
Me.mAccessories.Index = 0
Me.mAccessories.Text = "附件(&P)"
'
'mFormat
'
Me.mFormat.Index = 1
Me.mFormat.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.mTxt, Me.mHTML})
Me.mFormat.Text = "格式(&F)"
'
'mTxt
'
Me.mTxt.Index = 0
Me.mTxt.Text = "纯文字格式(&W)"
'
'TextBox2
'
Me.TextBox2.Location = New System.Drawing.Point(320, 16)
Me.TextBox2.Name = "TextBox2"
Me.TextBox2.Size = New System.Drawing.Size(128, 21)
Me.TextBox2.TabIndex = 2
Me.TextBox2.Text = ""
'
'TextBox3
'
Me.TextBox3.Location = New System.Drawing.Point(80, 96)
Me.TextBox3.Name = "TextBox3"
Me.TextBox3.Size = New System.Drawing.Size(368, 21)
Me.TextBox3.TabIndex = 6
Me.TextBox3.Text = ""
'
'mHelp
'
Me.mHelp.Index = 2
Me.mHelp.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.mAbout})
Me.mHelp.Text = "帮助(&H)"
'
'mAbout
'
Me.mAbout.Index = 0
Me.mAbout.Text = "关于Email发送(&A)..."
'
'TextBox6
'
Me.TextBox6.Location = New System.Drawing.Point(320, 40)
Me.TextBox6.Name = "TextBox6"
Me.TextBox6.Size = New System.Drawing.Size(128, 21)
Me.TextBox6.TabIndex = 4
Me.TextBox6.Text = ""
'
'TextBox1
'
Me.TextBox1.Location = New System.Drawing.Point(80, 16)
Me.TextBox1.Name = "TextBox1"
Me.TextBox1.Size = New System.Drawing.Size(128, 21)
Me.TextBox1.TabIndex = 1
Me.TextBox1.Text = ""
'
'TextBox4
'
Me.TextBox4.Location = New System.Drawing.Point(96, 224)
Me.TextBox4.Name = "TextBox4"
Me.TextBox4.Size = New System.Drawing.Size(352, 21)
Me.TextBox4.TabIndex = 9
Me.TextBox4.Text = ""
'
'TextBox5
'
Me.TextBox5.Location = New System.Drawing.Point(80, 40)
Me.TextBox5.Name = "TextBox5"
Me.TextBox5.Size = New System.Drawing.Size(128, 21)
Me.TextBox5.TabIndex = 3
Me.TextBox5.Text = ""
'
'mLetter
'
Me.mLetter.Index = 1
Me.mLetter.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.mAccessories, Me.mFormat})
Me.mLetter.Text = "信件(&L)"
'
'Format2
'
Me.Format2.Location = New System.Drawing.Point(128, 256)
Me.Format2.Name = "Format2"
Me.Format2.Size = New System.Drawing.Size(100, 24)
Me.Format2.TabIndex = 11
Me.Format2.Text = "HTML格式"
'
'MainMenu1
'
Me.MainMenu1.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.mFile, Me.mLetter, Me.mHelp})
'
'mFile
'
Me.mFile.Index = 0
Me.mFile.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.mReset, Me.mSend, Me.mExit})
Me.mFile.Text = "文件(&F)"
'
'mReset
'
Me.mReset.Index = 0
Me.mReset.Text = "重填(&R)"
'
'mSend
'
Me.mSend.Index = 1
Me.mSend.Text = "发送(&S)"
'
'mExit
'
Me.mExit.Index = 2
Me.mExit.Text = "退出(&X)"
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(16, 120)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(56, 16)
Me.Label4.TabIndex = 0
Me.Label4.Text = "内容:"
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(232, 48)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(56, 16)
Me.Label5.TabIndex = 0
Me.Label5.Text = "密送:"
'
'Format1
'
Me.Format1.Checked = True
Me.Format1.Location = New System.Drawing.Point(16, 256)
Me.Format1.Name = "Format1"
Me.Format1.Size = New System.Drawing.Size(100, 24)
Me.Format1.TabIndex = 10
Me.Format1.TabStop = True
Me.Format1.Text = "纯文字格式"
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(16, 72)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(56, 16)
Me.Label7.TabIndex = 0
Me.Label7.Text = "优先级:"
'
'Button1
'
Me.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup
Me.Button1.Location = New System.Drawing.Point(16, 224)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -