📄 form1.cs
字号:
this.tb_SendStatus.SuspendLayout();
this.groupBox6.SuspendLayout();
this.groupBox5.SuspendLayout();
this.groupBox4.SuspendLayout();
this.tb_Help.SuspendLayout();
this.tb_sendMail.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.status)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.timer1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.timer2)).BeginInit();
this.SuspendLayout();
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tb_mailContent);
this.tabControl1.Controls.Add(this.tb_reseiveMail);
this.tabControl1.Controls.Add(this.tb_SendStatus);
this.tabControl1.Controls.Add(this.tb_Help);
this.tabControl1.Controls.Add(this.tb_sendMail);
this.tabControl1.Location = new System.Drawing.Point(8, 8);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(496, 288);
this.tabControl1.TabIndex = 0;
//
// tb_mailContent
//
this.tb_mailContent.Controls.Add(this.mailHtml);
this.tb_mailContent.Controls.Add(this.mailText);
this.tb_mailContent.Controls.Add(this.mailTitle);
this.tb_mailContent.Controls.Add(this.label3);
this.tb_mailContent.Controls.Add(this.label2);
this.tb_mailContent.Controls.Add(this.label1);
this.tb_mailContent.Location = new System.Drawing.Point(4, 21);
this.tb_mailContent.Name = "tb_mailContent";
this.tb_mailContent.Size = new System.Drawing.Size(488, 263);
this.tb_mailContent.TabIndex = 0;
this.tb_mailContent.Text = "广告内容";
//
// mailHtml
//
this.mailHtml.Location = new System.Drawing.Point(88, 131);
this.mailHtml.Multiline = true;
this.mailHtml.Name = "mailHtml";
this.mailHtml.Size = new System.Drawing.Size(364, 125);
this.mailHtml.TabIndex = 11;
this.mailHtml.Text = "";
this.mailHtml.Leave += new System.EventHandler(this.mailHtml_Leave);
//
// mailText
//
this.mailText.Location = new System.Drawing.Point(88, 43);
this.mailText.Multiline = true;
this.mailText.Name = "mailText";
this.mailText.Size = new System.Drawing.Size(364, 80);
this.mailText.TabIndex = 10;
this.mailText.Text = "";
this.mailText.Leave += new System.EventHandler(this.mailText_Leave);
//
// mailTitle
//
this.mailTitle.Location = new System.Drawing.Point(88, 19);
this.mailTitle.Name = "mailTitle";
this.mailTitle.Size = new System.Drawing.Size(364, 21);
this.mailTitle.TabIndex = 9;
this.mailTitle.Text = "";
this.mailTitle.Leave += new System.EventHandler(this.mailTitle_Leave);
//
// label3
//
this.label3.Location = new System.Drawing.Point(16, 131);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(72, 16);
this.label3.TabIndex = 8;
this.label3.Text = "超文本内容";
//
// label2
//
this.label2.Location = new System.Drawing.Point(16, 43);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(72, 16);
this.label2.TabIndex = 7;
this.label2.Text = "发送者";
//
// label1
//
this.label1.Location = new System.Drawing.Point(16, 19);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(72, 16);
this.label1.TabIndex = 6;
this.label1.Text = "标题";
//
// tb_reseiveMail
//
this.tb_reseiveMail.Controls.Add(this.button15);
this.tb_reseiveMail.Controls.Add(this.button11);
this.tb_reseiveMail.Controls.Add(this.groupBox3);
this.tb_reseiveMail.Controls.Add(this.startNum);
this.tb_reseiveMail.Controls.Add(this.button5);
this.tb_reseiveMail.Controls.Add(this.button4);
this.tb_reseiveMail.Controls.Add(this.sendedNum);
this.tb_reseiveMail.Controls.Add(this.mailCount);
this.tb_reseiveMail.Controls.Add(this.databaseName);
this.tb_reseiveMail.Controls.Add(this.sqlPassword);
this.tb_reseiveMail.Controls.Add(this.sqlUsername);
this.tb_reseiveMail.Controls.Add(this.sqlServer);
this.tb_reseiveMail.Controls.Add(this.label10);
this.tb_reseiveMail.Controls.Add(this.label9);
this.tb_reseiveMail.Controls.Add(this.label8);
this.tb_reseiveMail.Controls.Add(this.label7);
this.tb_reseiveMail.Controls.Add(this.label6);
this.tb_reseiveMail.Controls.Add(this.label5);
this.tb_reseiveMail.Controls.Add(this.label4);
this.tb_reseiveMail.Location = new System.Drawing.Point(4, 21);
this.tb_reseiveMail.Name = "tb_reseiveMail";
this.tb_reseiveMail.Size = new System.Drawing.Size(488, 263);
this.tb_reseiveMail.TabIndex = 1;
this.tb_reseiveMail.Text = "接收邮址";
//
// button15
//
this.button15.Location = new System.Drawing.Point(296, 160);
this.button15.Name = "button15";
this.button15.Size = new System.Drawing.Size(176, 23);
this.button15.TabIndex = 21;
this.button15.Text = "将数据中的邮址导入到任务表";
this.button15.Click += new System.EventHandler(this.button15_Click);
//
// button11
//
this.button11.Location = new System.Drawing.Point(352, 88);
this.button11.Name = "button11";
this.button11.Size = new System.Drawing.Size(120, 23);
this.button11.TabIndex = 20;
this.button11.Text = "登录其它数据库";
this.button11.Visible = false;
this.button11.Click += new System.EventHandler(this.button11_Click);
//
// groupBox3
//
this.groupBox3.Controls.Add(this.delRe);
this.groupBox3.Controls.Add(this.button10);
this.groupBox3.Controls.Add(this.button9);
this.groupBox3.Controls.Add(this.txtFile);
this.groupBox3.Location = new System.Drawing.Point(16, 192);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(464, 56);
this.groupBox3.TabIndex = 19;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "由TXT文档导入数据库";
//
// delRe
//
this.delRe.Checked = true;
this.delRe.CheckState = System.Windows.Forms.CheckState.Checked;
this.delRe.Enabled = false;
this.delRe.Location = new System.Drawing.Point(376, 24);
this.delRe.Name = "delRe";
this.delRe.Size = new System.Drawing.Size(80, 24);
this.delRe.TabIndex = 19;
this.delRe.Text = "排除重复";
this.delRe.CheckedChanged += new System.EventHandler(this.delRe_CheckedChanged);
//
// button10
//
this.button10.Location = new System.Drawing.Point(320, 24);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(48, 23);
this.button10.TabIndex = 18;
this.button10.Text = "导入";
this.button10.Click += new System.EventHandler(this.button10_Click);
//
// button9
//
this.button9.Location = new System.Drawing.Point(272, 24);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(48, 23);
this.button9.TabIndex = 17;
this.button9.Text = "选择";
this.button9.Click += new System.EventHandler(this.button9_Click);
//
// txtFile
//
this.txtFile.Location = new System.Drawing.Point(8, 24);
this.txtFile.Name = "txtFile";
this.txtFile.Size = new System.Drawing.Size(264, 21);
this.txtFile.TabIndex = 12;
this.txtFile.Text = "";
//
// startNum
//
this.startNum.Location = new System.Drawing.Point(112, 160);
this.startNum.Name = "startNum";
this.startNum.Size = new System.Drawing.Size(176, 21);
this.startNum.TabIndex = 18;
this.startNum.Text = "";
//
// button5
//
this.button5.Location = new System.Drawing.Point(296, 136);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(56, 23);
this.button5.TabIndex = 17;
this.button5.Text = "重置 ";
this.button5.Click += new System.EventHandler(this.button5_Click);
//
// button4
//
this.button4.Location = new System.Drawing.Point(296, 88);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(56, 23);
this.button4.TabIndex = 16;
this.button4.Text = "登录";
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// sendedNum
//
this.sendedNum.Enabled = false;
this.sendedNum.Location = new System.Drawing.Point(112, 136);
this.sendedNum.Name = "sendedNum";
this.sendedNum.Size = new System.Drawing.Size(176, 21);
this.sendedNum.TabIndex = 15;
this.sendedNum.Text = "";
//
// mailCount
//
this.mailCount.Enabled = false;
this.mailCount.Location = new System.Drawing.Point(112, 112);
this.mailCount.Name = "mailCount";
this.mailCount.Size = new System.Drawing.Size(176, 21);
this.mailCount.TabIndex = 14;
this.mailCount.Text = "";
//
// databaseName
//
this.databaseName.Location = new System.Drawing.Point(112, 88);
this.databaseName.Name = "databaseName";
this.databaseName.Size = new System.Drawing.Size(176, 21);
this.databaseName.TabIndex = 13;
this.databaseName.Text = "HBJ.MailSender";
//
// sqlPassword
//
this.sqlPassword.Location = new System.Drawing.Point(112, 64);
this.sqlPassword.Name = "sqlPassword";
this.sqlPassword.Size = new System.Drawing.Size(176, 21);
this.sqlPassword.TabIndex = 12;
this.sqlPassword.Text = "";
//
// sqlUsername
//
this.sqlUsername.Location = new System.Drawing.Point(112, 40);
this.sqlUsername.Name = "sqlUsername";
this.sqlUsername.Size = new System.Drawing.Size(176, 21);
this.sqlUsername.TabIndex = 11;
this.sqlUsername.Text = "sa";
//
// sqlServer
//
this.sqlServer.Location = new System.Drawing.Point(112, 16);
this.sqlServer.Name = "sqlServer";
this.sqlServer.Size = new System.Drawing.Size(360, 21);
this.sqlServer.TabIndex = 10;
this.sqlServer.Text = "127.0.0.1";
//
// label10
//
this.label10.Location = new System.Drawing.Point(16, 168);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(100, 16);
this.label10.TabIndex = 6;
this.label10.Text = "本次发送起始";
//
// label9
//
this.label9.Location = new System.Drawing.Point(16, 144);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(100, 16);
this.label9.TabIndex = 5;
this.label9.Text = "上次已发送至";
//
// label8
//
this.label8.Location = new System.Drawing.Point(16, 120);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(100, 16);
this.label8.TabIndex = 4;
this.label8.Text = "邮件地址总数";
//
// label7
//
this.label7.Location = new System.Drawing.Point(16, 96);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(100, 16);
this.label7.TabIndex = 3;
this.label7.Text = "数据库名称";
//
// label6
//
this.label6.Location = new System.Drawing.Point(16, 72);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(100, 16);
this.label6.TabIndex = 2;
this.label6.Text = "登录密码";
//
// label5
//
this.label5.Location = new System.Drawing.Point(16, 48);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(100, 16);
this.label5.TabIndex = 1;
this.label5.Text = "登录用户";
//
// label4
//
this.label4.Location = new System.Drawing.Point(16, 24);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(100, 16);
this.label4.TabIndex = 0;
this.label4.Text = "SQL 服务器";
//
// tb_SendStatus
//
this.tb_SendStatus.Controls.Add(this.button20);
this.tb_SendStatus.Controls.Add(this.button19);
this.tb_SendStatus.Controls.Add(this.button18);
this.tb_SendStatus.Controls.Add(this.button16);
this.tb_SendStatus.Controls.Add(this.button14);
this.tb_SendStatus.Controls.Add(this.button13);
this.tb_SendStatus.Controls.Add(this.button12);
this.tb_SendStatus.Controls.Add(this.groupBox6);
this.tb_SendStatus.Controls.Add(this.groupBox5);
this.tb_SendStatus.Controls.Add(this.groupBox4);
this.tb_SendStatus.Location = new System.Drawing.Point(4, 21);
this.tb_SendStatus.Name = "tb_SendStatus";
this.tb_SendStatus.Size = new System.Drawing.Size(488, 263);
this.tb_SendStatus.TabIndex = 4;
this.tb_SendStatus.Text = "发送状态";
//
// button20
//
this.button20.Location = new System.Drawing.Point(320, 232);
this.button20.Name = "button20";
this.button20.Size = new System.Drawing.Size(48, 23);
this.button20.TabIndex = 11;
this.button20.Text = "清空";
this.button20.Click += new System.EventHandler(this.button20_Click);
//
// button19
//
this.button19.Location = new System.Drawing.Point(160, 232);
this.button19.Name = "button19";
this.button19.Size = new System.Drawing.Size(48, 23);
this.button19.TabIndex = 10;
this.button19.Text = "清空";
this.button19.Click += new System.EventHandler(this.button19_Click);
//
// button18
//
this.button18.Location = new System.Drawing.Point(104, 232);
this.button18.Name = "button18";
this.button18.Size = new System.Drawing.Size(48, 23);
this.button18.TabIndex = 9;
this.button18.Text = "导出";
this.button18.Click += new System.EventHandler(this.button18_Click);
//
// button16
//
this.button16.Location = new System.Drawing.Point(8, 232);
this.button16.Name = "button16";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -