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

📄 formreceivemail.designer.cs

📁 邮件收发的基本实现,可以作为邮件开发初学者的参考.
💻 CS
字号:
namespace ReceiveMailExample
{
    partial class FormReceiveMail
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows 窗体设计器生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.groupBoxConnect = new System.Windows.Forms.GroupBox();
            this.buttonDisconnect = new System.Windows.Forms.Button();
            this.buttonConnect = new System.Windows.Forms.Button();
            this.textBoxPassword = new System.Windows.Forms.TextBox();
            this.labelPwd = new System.Windows.Forms.Label();
            this.textBoxUser = new System.Windows.Forms.TextBox();
            this.labelUser = new System.Windows.Forms.Label();
            this.groupBoxMailContent = new System.Windows.Forms.GroupBox();
            this.richTextBox1 = new System.Windows.Forms.RichTextBox();
            this.groupBoxOperation = new System.Windows.Forms.GroupBox();
            this.buttonDelete = new System.Windows.Forms.Button();
            this.buttonRead = new System.Windows.Forms.Button();
            this.listBoxOperation = new System.Windows.Forms.ListBox();
            this.groupBoxState = new System.Windows.Forms.GroupBox();
            this.listBoxStatus = new System.Windows.Forms.ListBox();
            this.groupBoxConnect.SuspendLayout();
            this.groupBoxMailContent.SuspendLayout();
            this.groupBoxOperation.SuspendLayout();
            this.groupBoxState.SuspendLayout();
            this.SuspendLayout();
            // 
            // groupBoxConnect
            // 
            this.groupBoxConnect.Controls.Add(this.buttonDisconnect);
            this.groupBoxConnect.Controls.Add(this.buttonConnect);
            this.groupBoxConnect.Controls.Add(this.textBoxPassword);
            this.groupBoxConnect.Controls.Add(this.labelPwd);
            this.groupBoxConnect.Controls.Add(this.textBoxUser);
            this.groupBoxConnect.Controls.Add(this.labelUser);
            this.groupBoxConnect.Location = new System.Drawing.Point(2, 12);
            this.groupBoxConnect.Name = "groupBoxConnect";
            this.groupBoxConnect.Size = new System.Drawing.Size(466, 80);
            this.groupBoxConnect.TabIndex = 1;
            this.groupBoxConnect.TabStop = false;
            this.groupBoxConnect.Text = "连接操作";
            // 
            // buttonDisconnect
            // 
            this.buttonDisconnect.Enabled = false;
            this.buttonDisconnect.Location = new System.Drawing.Point(372, 49);
            this.buttonDisconnect.Name = "buttonDisconnect";
            this.buttonDisconnect.Size = new System.Drawing.Size(72, 24);
            this.buttonDisconnect.TabIndex = 7;
            this.buttonDisconnect.Text = "断开连接";
            this.buttonDisconnect.Click += new System.EventHandler(this.buttonDisconnect_Click);
            // 
            // buttonConnect
            // 
            this.buttonConnect.Location = new System.Drawing.Point(372, 15);
            this.buttonConnect.Name = "buttonConnect";
            this.buttonConnect.Size = new System.Drawing.Size(72, 24);
            this.buttonConnect.TabIndex = 6;
            this.buttonConnect.Text = "建立连接";
            this.buttonConnect.Click += new System.EventHandler(this.buttonConnect_Click);
            // 
            // textBoxPassword
            // 
            this.textBoxPassword.Location = new System.Drawing.Point(64, 49);
            this.textBoxPassword.Name = "textBoxPassword";
            this.textBoxPassword.PasswordChar = '*';
            this.textBoxPassword.Size = new System.Drawing.Size(292, 21);
            this.textBoxPassword.TabIndex = 5;
            // 
            // labelPwd
            // 
            this.labelPwd.Location = new System.Drawing.Point(10, 49);
            this.labelPwd.Name = "labelPwd";
            this.labelPwd.Size = new System.Drawing.Size(32, 24);
            this.labelPwd.TabIndex = 4;
            this.labelPwd.Text = "密码";
            // 
            // textBoxUser
            // 
            this.textBoxUser.Location = new System.Drawing.Point(64, 16);
            this.textBoxUser.Name = "textBoxUser";
            this.textBoxUser.Size = new System.Drawing.Size(292, 21);
            this.textBoxUser.TabIndex = 3;
            // 
            // labelUser
            // 
            this.labelUser.Location = new System.Drawing.Point(10, 21);
            this.labelUser.Name = "labelUser";
            this.labelUser.Size = new System.Drawing.Size(48, 16);
            this.labelUser.TabIndex = 2;
            this.labelUser.Text = "用户名";
            // 
            // groupBoxMailContent
            // 
            this.groupBoxMailContent.Controls.Add(this.richTextBox1);
            this.groupBoxMailContent.Location = new System.Drawing.Point(2, 103);
            this.groupBoxMailContent.Name = "groupBoxMailContent";
            this.groupBoxMailContent.Size = new System.Drawing.Size(300, 177);
            this.groupBoxMailContent.TabIndex = 2;
            this.groupBoxMailContent.TabStop = false;
            this.groupBoxMailContent.Text = "邮件内容";
            // 
            // richTextBox1
            // 
            this.richTextBox1.Location = new System.Drawing.Point(12, 20);
            this.richTextBox1.Name = "richTextBox1";
            this.richTextBox1.Size = new System.Drawing.Size(274, 150);
            this.richTextBox1.TabIndex = 0;
            this.richTextBox1.Text = "";
            this.richTextBox1.WordWrap = false;
            // 
            // groupBoxOperation
            // 
            this.groupBoxOperation.Controls.Add(this.buttonDelete);
            this.groupBoxOperation.Controls.Add(this.buttonRead);
            this.groupBoxOperation.Controls.Add(this.listBoxOperation);
            this.groupBoxOperation.Location = new System.Drawing.Point(308, 103);
            this.groupBoxOperation.Name = "groupBoxOperation";
            this.groupBoxOperation.Size = new System.Drawing.Size(160, 177);
            this.groupBoxOperation.TabIndex = 3;
            this.groupBoxOperation.TabStop = false;
            this.groupBoxOperation.Text = "操作";
            // 
            // buttonDelete
            // 
            this.buttonDelete.Enabled = false;
            this.buttonDelete.Location = new System.Drawing.Point(88, 142);
            this.buttonDelete.Name = "buttonDelete";
            this.buttonDelete.Size = new System.Drawing.Size(64, 22);
            this.buttonDelete.TabIndex = 2;
            this.buttonDelete.Text = "删除信件";
            this.buttonDelete.Click += new System.EventHandler(this.buttonDelete_Click);
            // 
            // buttonRead
            // 
            this.buttonRead.Enabled = false;
            this.buttonRead.Location = new System.Drawing.Point(8, 142);
            this.buttonRead.Name = "buttonRead";
            this.buttonRead.Size = new System.Drawing.Size(64, 22);
            this.buttonRead.TabIndex = 1;
            this.buttonRead.Text = "阅读信件";
            this.buttonRead.Click += new System.EventHandler(this.buttonRead_Click);
            // 
            // listBoxOperation
            // 
            this.listBoxOperation.ItemHeight = 12;
            this.listBoxOperation.Location = new System.Drawing.Point(8, 24);
            this.listBoxOperation.Name = "listBoxOperation";
            this.listBoxOperation.ScrollAlwaysVisible = true;
            this.listBoxOperation.Size = new System.Drawing.Size(144, 112);
            this.listBoxOperation.TabIndex = 0;
            // 
            // groupBoxState
            // 
            this.groupBoxState.Controls.Add(this.listBoxStatus);
            this.groupBoxState.Location = new System.Drawing.Point(2, 286);
            this.groupBoxState.Name = "groupBoxState";
            this.groupBoxState.Size = new System.Drawing.Size(466, 88);
            this.groupBoxState.TabIndex = 4;
            this.groupBoxState.TabStop = false;
            this.groupBoxState.Text = "状态";
            // 
            // listBoxStatus
            // 
            this.listBoxStatus.ItemHeight = 12;
            this.listBoxStatus.Location = new System.Drawing.Point(8, 16);
            this.listBoxStatus.Name = "listBoxStatus";
            this.listBoxStatus.ScrollAlwaysVisible = true;
            this.listBoxStatus.Size = new System.Drawing.Size(450, 64);
            this.listBoxStatus.TabIndex = 17;
            // 
            // FormReceiveMail
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(475, 382);
            this.Controls.Add(this.groupBoxState);
            this.Controls.Add(this.groupBoxOperation);
            this.Controls.Add(this.groupBoxMailContent);
            this.Controls.Add(this.groupBoxConnect);
            this.Name = "FormReceiveMail";
            this.Text = "读取邮件";
            this.Load += new System.EventHandler(this.FormReceiveMail_Load);
            this.groupBoxConnect.ResumeLayout(false);
            this.groupBoxConnect.PerformLayout();
            this.groupBoxMailContent.ResumeLayout(false);
            this.groupBoxOperation.ResumeLayout(false);
            this.groupBoxState.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.GroupBox groupBoxConnect;
        private System.Windows.Forms.Button buttonDisconnect;
        private System.Windows.Forms.Button buttonConnect;
        private System.Windows.Forms.TextBox textBoxPassword;
        private System.Windows.Forms.Label labelPwd;
        private System.Windows.Forms.TextBox textBoxUser;
        private System.Windows.Forms.Label labelUser;
        private System.Windows.Forms.GroupBox groupBoxMailContent;
        private System.Windows.Forms.RichTextBox richTextBox1;
        private System.Windows.Forms.GroupBox groupBoxOperation;
        private System.Windows.Forms.Button buttonDelete;
        private System.Windows.Forms.Button buttonRead;
        private System.Windows.Forms.ListBox listBoxOperation;
        private System.Windows.Forms.GroupBox groupBoxState;
        private System.Windows.Forms.ListBox listBoxStatus;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -