亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? form1.cs

?? 100個非常有趣的C語言UNIX程序實例。可以在樂趣中練習C語言編程。
?? CS
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Web;
using System.Web.Mail;

namespace EMailer
{
    /// <summary>
    /// Summary description for Form1.
    /// </summary>
    public class Form1 : System.Windows.Forms.Form
    {
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Button SendButton;
        private System.Windows.Forms.Button ExitButton;
        private System.Windows.Forms.TextBox FromTextBox;
        private System.Windows.Forms.TextBox ToTextBox;
        private System.Windows.Forms.TextBox SubjectTextBox;
        private System.Windows.Forms.TextBox MessageTextBox;
        private System.Windows.Forms.TextBox CCTextBox;
        private System.Windows.Forms.Label CCLabel;
        private System.Windows.Forms.TextBox BCCTextBox;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.Button BrowseButton;
        private System.Windows.Forms.OpenFileDialog openFileDialog1;
        private System.Windows.Forms.TextBox AttachmentTextBox;
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.Container components = null;

        public Form1()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose( bool disposing )
        {
            if( disposing )
            {
                if (components != null) 
                {
                    components.Dispose();
                }
            }
            base.Dispose( disposing );
        }

		#region Windows Form Designer generated code
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
            this.CCTextBox = new System.Windows.Forms.TextBox();
            this.CCLabel = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.BCCTextBox = new System.Windows.Forms.TextBox();
            this.MessageTextBox = new System.Windows.Forms.TextBox();
            this.ExitButton = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.ToTextBox = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.BrowseButton = new System.Windows.Forms.Button();
            this.SubjectTextBox = new System.Windows.Forms.TextBox();
            this.SendButton = new System.Windows.Forms.Button();
            this.label2 = new System.Windows.Forms.Label();
            this.AttachmentTextBox = new System.Windows.Forms.TextBox();
            this.FromTextBox = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            // 
            // openFileDialog1
            // 
            this.openFileDialog1.Title = "請選擇郵件附件";
            // 
            // CCTextBox
            // 
            this.CCTextBox.Location = new System.Drawing.Point(123, 102);
            this.CCTextBox.Name = "CCTextBox";
            this.CCTextBox.Size = new System.Drawing.Size(307, 21);
            this.CCTextBox.TabIndex = 2;
            this.CCTextBox.Text = "";
            // 
            // CCLabel
            // 
            this.CCLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.CCLabel.Location = new System.Drawing.Point(56, 104);
            this.CCLabel.Name = "CCLabel";
            this.CCLabel.Size = new System.Drawing.Size(43, 18);
            this.CCLabel.TabIndex = 2;
            this.CCLabel.Text = "抄送:";
            // 
            // label4
            // 
            this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.label4.Location = new System.Drawing.Point(56, 136);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(41, 18);
            this.label4.TabIndex = 2;
            this.label4.Text = "密送:";
            // 
            // label5
            // 
            this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.label5.Location = new System.Drawing.Point(56, 216);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(44, 18);
            this.label5.TabIndex = 2;
            this.label5.Text = "附件:";
            // 
            // BCCTextBox
            // 
            this.BCCTextBox.Location = new System.Drawing.Point(123, 139);
            this.BCCTextBox.Name = "BCCTextBox";
            this.BCCTextBox.Size = new System.Drawing.Size(307, 21);
            this.BCCTextBox.TabIndex = 3;
            this.BCCTextBox.Text = "";
            // 
            // MessageTextBox
            // 
            this.MessageTextBox.Location = new System.Drawing.Point(10, 250);
            this.MessageTextBox.Multiline = true;
            this.MessageTextBox.Name = "MessageTextBox";
            this.MessageTextBox.Size = new System.Drawing.Size(410, 176);
            this.MessageTextBox.TabIndex = 6;
            this.MessageTextBox.Text = "";
            // 
            // ExitButton
            // 
            this.ExitButton.BackColor = System.Drawing.Color.RosyBrown;
            this.ExitButton.Location = new System.Drawing.Point(256, 444);
            this.ExitButton.Name = "ExitButton";
            this.ExitButton.Size = new System.Drawing.Size(92, 28);
            this.ExitButton.TabIndex = 9;
            this.ExitButton.Text = "退  出";
            this.ExitButton.Click += new System.EventHandler(this.ExitButton_Click);
            // 
            // label1
            // 
            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.label1.Location = new System.Drawing.Point(56, 16);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(32, 18);
            this.label1.TabIndex = 2;
            this.label1.Text = "發自:";
            this.label1.Click += new System.EventHandler(this.label1_Click);
            // 
            // ToTextBox
            // 
            this.ToTextBox.Location = new System.Drawing.Point(123, 61);
            this.ToTextBox.Name = "ToTextBox";
            this.ToTextBox.Size = new System.Drawing.Size(307, 21);
            this.ToTextBox.TabIndex = 1;
            this.ToTextBox.Text = "";
            // 
            // label3
            // 
            this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.label3.Location = new System.Drawing.Point(56, 176);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(33, 18);
            this.label3.TabIndex = 2;
            this.label3.Text = "主題:";
            // 
            // BrowseButton
            // 
            this.BrowseButton.Location = new System.Drawing.Point(358, 213);
            this.BrowseButton.Name = "BrowseButton";
            this.BrowseButton.Size = new System.Drawing.Size(72, 28);
            this.BrowseButton.TabIndex = 7;
            this.BrowseButton.Text = "瀏覽...";
            this.BrowseButton.Click += new System.EventHandler(this.BrowseButton_Click);
            // 
            // SubjectTextBox
            // 
            this.SubjectTextBox.Location = new System.Drawing.Point(123, 176);
            this.SubjectTextBox.Name = "SubjectTextBox";
            this.SubjectTextBox.Size = new System.Drawing.Size(307, 21);
            this.SubjectTextBox.TabIndex = 4;
            this.SubjectTextBox.Text = "";
            // 
            // SendButton
            // 
            this.SendButton.BackColor = System.Drawing.Color.Aqua;
            this.SendButton.Location = new System.Drawing.Point(82, 444);
            this.SendButton.Name = "SendButton";
            this.SendButton.Size = new System.Drawing.Size(92, 28);
            this.SendButton.TabIndex = 8;
            this.SendButton.Text = "發  送";
            this.SendButton.Click += new System.EventHandler(this.SendButton_Click);
            // 
            // label2
            // 
            this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.label2.Location = new System.Drawing.Point(56, 64);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(40, 19);
            this.label2.TabIndex = 2;
            this.label2.Text = "發往:";
            // 
            // AttachmentTextBox
            // 
            this.AttachmentTextBox.Location = new System.Drawing.Point(123, 213);
            this.AttachmentTextBox.Name = "AttachmentTextBox";
            this.AttachmentTextBox.Size = new System.Drawing.Size(215, 21);
            this.AttachmentTextBox.TabIndex = 5;
            this.AttachmentTextBox.Text = "";
            // 
            // FromTextBox
            // 
            this.FromTextBox.Location = new System.Drawing.Point(123, 19);
            this.FromTextBox.Name = "FromTextBox";
            this.FromTextBox.Size = new System.Drawing.Size(307, 21);
            this.FromTextBox.TabIndex = 0;
            this.FromTextBox.Text = "";
            // 
            // Form1
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize = new System.Drawing.Size(440, 477);
            this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                          this.BrowseButton,
                                                                          this.AttachmentTextBox,
                                                                          this.label5,
                                                                          this.label4,
                                                                          this.BCCTextBox,
                                                                          this.CCLabel,
                                                                          this.CCTextBox,
                                                                          this.ExitButton,
                                                                          this.SendButton,
                                                                          this.label3,
                                                                          this.label2,
                                                                          this.label1,
                                                                          this.SubjectTextBox,
                                                                          this.ToTextBox,
                                                                          this.FromTextBox,
                                                                          this.MessageTextBox});
            this.Name = "Form1";
            this.Text = "發送郵件";
            this.ResumeLayout(false);

        }
		#endregion

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main() 
        {
            Application.Run(new Form1());
        }

        private void SendButton_Click(object sender, System.EventArgs e)
        {
            try
            {
                MailMessage aMessage = new MailMessage();
                aMessage.From = FromTextBox.Text;
                aMessage.To = ToTextBox.Text;
                aMessage.Cc = CCTextBox.Text;
                aMessage.Bcc = BCCTextBox.Text;
                aMessage.Subject = SubjectTextBox.Text;
                aMessage.Body = MessageTextBox.Text;
                if (AttachmentTextBox.Text.Length > 0)
                    aMessage.Attachments.Add(new MailAttachment(AttachmentTextBox.Text, MailEncoding.Base64)); 

                SmtpMail.Send(aMessage);

                MessageBox.Show("郵件發送成功!");
            }
            catch(Exception ex)
            {
                MessageBox.Show(ex.Message.ToString());
            }
        }

        private void ExitButton_Click(object sender, System.EventArgs e)
        {
            Application.Exit();
        }

        private void label1_Click(object sender, System.EventArgs e)
        {

        }

        private void BrowseButton_Click(object sender, System.EventArgs e)
        {
            if (this.openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                AttachmentTextBox.Text = this.openFileDialog1.FileName;
            }
        }

    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
av电影在线观看一区| 综合色天天鬼久久鬼色| 欧美激情资源网| 亚洲国产综合91精品麻豆| 国产成人亚洲综合色影视| 99国产精品国产精品久久| 欧美成人video| 一区二区三区色| 福利视频网站一区二区三区| 在线成人免费视频| 亚洲激情网站免费观看| 高潮精品一区videoshd| www亚洲一区| 日本亚洲欧美天堂免费| 在线日韩一区二区| 中文字幕一区二区不卡| 国产一区二区三区精品视频| 91精品国产色综合久久不卡电影 | 国产盗摄精品一区二区三区在线| 欧美日韩专区在线| 成人欧美一区二区三区黑人麻豆| 国产一区二区三区四区五区入口| 日韩欧美在线网站| 丝袜美腿一区二区三区| 91精品国产91久久久久久最新毛片| 国产亚洲精品7777| 韩国av一区二区三区四区| 欧美一级电影网站| 日日欢夜夜爽一区| 欧美日韩三级在线| 亚洲动漫第一页| 欧美色区777第一页| 亚洲黄网站在线观看| 色婷婷久久久综合中文字幕| 自拍偷自拍亚洲精品播放| 91美女福利视频| 一区二区三区日韩| 欧洲国内综合视频| 亚洲午夜羞羞片| 欧美日韩高清一区二区不卡| 亚欧色一区w666天堂| 欧美一卡二卡在线观看| 久久精品av麻豆的观看方式| 2022国产精品视频| 成人av免费在线播放| 综合久久综合久久| 欧美私模裸体表演在线观看| 水野朝阳av一区二区三区| 欧美大片在线观看一区| 国产精品一卡二卡| 亚洲欧洲日韩女同| 欧美精品成人一区二区三区四区| 蜜臀av性久久久久蜜臀aⅴ流畅| 精品理论电影在线| 不卡视频免费播放| 亚洲高清免费观看| 精品av久久707| 国产剧情在线观看一区二区| 亚洲视频在线一区观看| 欧美性色欧美a在线播放| 蜜桃一区二区三区在线观看| 26uuu久久天堂性欧美| 99久久免费精品高清特色大片| 亚洲大片在线观看| 26uuu精品一区二区| 99天天综合性| 日韩二区三区四区| 国产欧美日韩不卡免费| 色天使色偷偷av一区二区| 蜜臀99久久精品久久久久久软件| 欧美激情综合网| 欧美美女bb生活片| 处破女av一区二区| 麻豆91在线观看| 亚洲日本在线观看| 日韩小视频在线观看专区| 成人精品免费视频| 手机精品视频在线观看| 欧美激情一区二区| 日韩视频国产视频| 日本韩国一区二区三区| 国产在线精品视频| 舔着乳尖日韩一区| 中文字幕一区在线| 久久久亚洲欧洲日产国码αv| 欧美性极品少妇| 成人手机在线视频| 久久91精品久久久久久秒播| 亚洲va韩国va欧美va| 一区在线播放视频| 久久精品日韩一区二区三区| 91麻豆精品国产91久久久 | 91麻豆高清视频| 国产精品一级黄| 青青草国产精品97视觉盛宴 | 欧洲av在线精品| 成人精品视频.| 国产在线精品一区二区不卡了| 婷婷久久综合九色国产成人| 一区二区三区蜜桃| 亚洲日本乱码在线观看| 欧美国产激情一区二区三区蜜月| 精品乱人伦小说| 日韩免费成人网| 欧美日韩二区三区| 欧美日韩一区二区三区在线| 91免费观看视频在线| 99热国产精品| 波多野结衣精品在线| gogo大胆日本视频一区| 成人激情黄色小说| 不卡一区二区在线| av亚洲精华国产精华精| 成人高清免费观看| 国产福利一区二区三区视频在线 | 欧美一区二区三区爱爱| 欧美肥妇free| 欧美一级片在线看| 精品三级av在线| 久久蜜桃一区二区| 中文字幕精品在线不卡| 亚洲精品免费在线播放| 日韩美女精品在线| 亚洲一区免费在线观看| 亚洲国产美女搞黄色| 午夜精品福利久久久| 五月婷婷欧美视频| 美国三级日本三级久久99| 精品无人码麻豆乱码1区2区| 国产一区二区三区观看| 国产91综合网| 色8久久精品久久久久久蜜| 欧美四级电影在线观看| 欧美一级精品在线| 国产欧美一区二区在线观看| 亚洲人成精品久久久久| 亚洲v日本v欧美v久久精品| 日产国产欧美视频一区精品 | 精品第一国产综合精品aⅴ| 久久久久国产一区二区三区四区| 国产精品久久久久天堂| 夜夜嗨av一区二区三区四季av| 日日摸夜夜添夜夜添亚洲女人| 精品一区二区三区久久| 9i看片成人免费高清| 欧美高清一级片在线| 国产亚洲福利社区一区| 亚洲欧美一区二区三区极速播放| 五月天丁香久久| 成人免费毛片aaaaa**| 欧美日韩一区二区三区不卡| 欧美成人三级在线| 亚洲视频狠狠干| 久久超碰97中文字幕| 黄网站免费久久| 亚洲国产精品成人久久综合一区| 欧美极品aⅴ影院| 亚洲午夜国产一区99re久久| 精品国产自在久精品国产| 久久精品亚洲一区二区三区浴池 | 欧美国产综合色视频| 亚洲激情av在线| 国产一区二区在线观看免费| 91豆麻精品91久久久久久| 精品欧美一区二区久久| 亚洲青青青在线视频| 激情久久五月天| 欧美午夜不卡在线观看免费| 国产性做久久久久久| 日日嗨av一区二区三区四区| 不卡一区中文字幕| 日韩精品一区二区三区四区| 亚洲免费在线播放| 国产精品一区二区久久精品爱涩 | 亚洲伊人色欲综合网| 国产在线精品一区二区不卡了| 欧美色精品在线视频| 中文字幕精品—区二区四季| 美国av一区二区| 欧美日韩夫妻久久| 一区二区欧美视频| 97久久人人超碰| 国产区在线观看成人精品| 日本va欧美va欧美va精品| 在线观看日韩电影| 国产精品另类一区| 国产精品996| 欧美videos大乳护士334| 婷婷六月综合网| 欧美日韩1区2区| 亚洲国产一区二区三区青草影视| 99这里只有久久精品视频| 中文字幕欧美国产| 国产麻豆精品theporn| 2021中文字幕一区亚洲| 六月婷婷色综合| 日韩欧美国产精品一区| 裸体一区二区三区| 精品免费日韩av| 九九视频精品免费|