|
|
|
|
namespace GetPortInfo
|
|
|
|
|
{
|
|
|
|
|
partial class FMain
|
|
|
|
|
{
|
|
|
|
|
/// <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.components = new System.ComponentModel.Container();
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FMain));
|
|
|
|
|
this.groupParaGet = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.checkBoxCYTZ = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.checkBoxIsCl = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.rdImport = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.rdExport = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.txtupdateUser = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label12 = new System.Windows.Forms.Label();
|
|
|
|
|
this.chkNotGZ = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.dtpGetTime = new System.Windows.Forms.DateTimePicker();
|
|
|
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
|
|
|
this.txtPwd = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
|
|
this.txtCardNO = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
|
|
this.dtpReqEnd = new System.Windows.Forms.DateTimePicker();
|
|
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
|
|
this.dtpReqStart = new System.Windows.Forms.DateTimePicker();
|
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.groupParaMail = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.txtSubject = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.txtReceiver = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
|
|
|
this.btnStart = new System.Windows.Forms.Button();
|
|
|
|
|
this.tmrStart = new System.Windows.Forms.Timer(this.components);
|
|
|
|
|
this.btnStop = new System.Windows.Forms.Button();
|
|
|
|
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
|
|
|
|
this.tslbStatus = new System.Windows.Forms.ToolStripStatusLabel();
|
|
|
|
|
this.tmrExecute = new System.Windows.Forms.Timer(this.components);
|
|
|
|
|
this.groupSmtpSet = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.txtMailPwd = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label11 = new System.Windows.Forms.Label();
|
|
|
|
|
this.chkSSL = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.numStmpPort = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
|
|
|
this.txtMailAcc = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
|
|
|
this.txtSmtpServer = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.radioButton1 = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.radioButton2 = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.groupParaGet.SuspendLayout();
|
|
|
|
|
this.groupParaMail.SuspendLayout();
|
|
|
|
|
this.statusStrip1.SuspendLayout();
|
|
|
|
|
this.groupSmtpSet.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numStmpPort)).BeginInit();
|
|
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// groupParaGet
|
|
|
|
|
//
|
|
|
|
|
this.groupParaGet.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.groupParaGet.Controls.Add(this.checkBoxCYTZ);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.checkBoxIsCl);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.rdImport);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.rdExport);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.txtupdateUser);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.label12);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.chkNotGZ);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.dtpGetTime);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.label5);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.txtPwd);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.label4);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.txtCardNO);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.label3);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.dtpReqEnd);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.label2);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.dtpReqStart);
|
|
|
|
|
this.groupParaGet.Controls.Add(this.label1);
|
|
|
|
|
this.groupParaGet.Location = new System.Drawing.Point(12, 12);
|
|
|
|
|
this.groupParaGet.Name = "groupParaGet";
|
|
|
|
|
this.groupParaGet.Size = new System.Drawing.Size(453, 133);
|
|
|
|
|
this.groupParaGet.TabIndex = 0;
|
|
|
|
|
this.groupParaGet.TabStop = false;
|
|
|
|
|
this.groupParaGet.Text = "提取参数";
|
|
|
|
|
//
|
|
|
|
|
// checkBoxCYTZ
|
|
|
|
|
//
|
|
|
|
|
this.checkBoxCYTZ.AutoSize = true;
|
|
|
|
|
this.checkBoxCYTZ.Location = new System.Drawing.Point(321, 53);
|
|
|
|
|
this.checkBoxCYTZ.Name = "checkBoxCYTZ";
|
|
|
|
|
this.checkBoxCYTZ.Size = new System.Drawing.Size(72, 16);
|
|
|
|
|
this.checkBoxCYTZ.TabIndex = 21;
|
|
|
|
|
this.checkBoxCYTZ.Text = "查验通知";
|
|
|
|
|
this.checkBoxCYTZ.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// checkBoxIsCl
|
|
|
|
|
//
|
|
|
|
|
this.checkBoxIsCl.AutoSize = true;
|
|
|
|
|
this.checkBoxIsCl.Location = new System.Drawing.Point(243, 53);
|
|
|
|
|
this.checkBoxIsCl.Name = "checkBoxIsCl";
|
|
|
|
|
this.checkBoxIsCl.Size = new System.Drawing.Size(72, 16);
|
|
|
|
|
this.checkBoxIsCl.TabIndex = 20;
|
|
|
|
|
this.checkBoxIsCl.Text = "是否清关";
|
|
|
|
|
this.checkBoxIsCl.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// rdImport
|
|
|
|
|
//
|
|
|
|
|
this.rdImport.AutoSize = true;
|
|
|
|
|
this.rdImport.Location = new System.Drawing.Point(105, 53);
|
|
|
|
|
this.rdImport.Name = "rdImport";
|
|
|
|
|
this.rdImport.Size = new System.Drawing.Size(47, 16);
|
|
|
|
|
this.rdImport.TabIndex = 19;
|
|
|
|
|
this.rdImport.Text = "进口";
|
|
|
|
|
this.rdImport.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// rdExport
|
|
|
|
|
//
|
|
|
|
|
this.rdExport.AutoSize = true;
|
|
|
|
|
this.rdExport.Checked = true;
|
|
|
|
|
this.rdExport.Location = new System.Drawing.Point(21, 53);
|
|
|
|
|
this.rdExport.Name = "rdExport";
|
|
|
|
|
this.rdExport.Size = new System.Drawing.Size(47, 16);
|
|
|
|
|
this.rdExport.TabIndex = 18;
|
|
|
|
|
this.rdExport.TabStop = true;
|
|
|
|
|
this.rdExport.Text = "出口";
|
|
|
|
|
this.rdExport.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// txtupdateUser
|
|
|
|
|
//
|
|
|
|
|
this.txtupdateUser.Location = new System.Drawing.Point(273, 99);
|
|
|
|
|
this.txtupdateUser.Name = "txtupdateUser";
|
|
|
|
|
this.txtupdateUser.Size = new System.Drawing.Size(99, 21);
|
|
|
|
|
this.txtupdateUser.TabIndex = 17;
|
|
|
|
|
//
|
|
|
|
|
// label12
|
|
|
|
|
//
|
|
|
|
|
this.label12.AutoSize = true;
|
|
|
|
|
this.label12.Location = new System.Drawing.Point(208, 106);
|
|
|
|
|
this.label12.Name = "label12";
|
|
|
|
|
this.label12.Size = new System.Drawing.Size(65, 12);
|
|
|
|
|
this.label12.TabIndex = 16;
|
|
|
|
|
this.label12.Text = "报关员代码";
|
|
|
|
|
//
|
|
|
|
|
// chkNotGZ
|
|
|
|
|
//
|
|
|
|
|
this.chkNotGZ.AutoSize = true;
|
|
|
|
|
this.chkNotGZ.Location = new System.Drawing.Point(378, 102);
|
|
|
|
|
this.chkNotGZ.Name = "chkNotGZ";
|
|
|
|
|
this.chkNotGZ.Size = new System.Drawing.Size(60, 16);
|
|
|
|
|
this.chkNotGZ.TabIndex = 15;
|
|
|
|
|
this.chkNotGZ.Text = "不盖章";
|
|
|
|
|
this.chkNotGZ.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// dtpGetTime
|
|
|
|
|
//
|
|
|
|
|
this.dtpGetTime.CustomFormat = "yyyy-MM-dd HH:mm";
|
|
|
|
|
this.dtpGetTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
|
|
|
|
this.dtpGetTime.Location = new System.Drawing.Point(63, 102);
|
|
|
|
|
this.dtpGetTime.Name = "dtpGetTime";
|
|
|
|
|
this.dtpGetTime.Size = new System.Drawing.Size(139, 21);
|
|
|
|
|
this.dtpGetTime.TabIndex = 9;
|
|
|
|
|
//
|
|
|
|
|
// label5
|
|
|
|
|
//
|
|
|
|
|
this.label5.AutoSize = true;
|
|
|
|
|
this.label5.Location = new System.Drawing.Point(4, 108);
|
|
|
|
|
this.label5.Name = "label5";
|
|
|
|
|
this.label5.Size = new System.Drawing.Size(53, 12);
|
|
|
|
|
this.label5.TabIndex = 8;
|
|
|
|
|
this.label5.Text = "提取时间";
|
|
|
|
|
//
|
|
|
|
|
// txtPwd
|
|
|
|
|
//
|
|
|
|
|
this.txtPwd.Location = new System.Drawing.Point(276, 75);
|
|
|
|
|
this.txtPwd.Name = "txtPwd";
|
|
|
|
|
this.txtPwd.PasswordChar = '*';
|
|
|
|
|
this.txtPwd.Size = new System.Drawing.Size(144, 21);
|
|
|
|
|
this.txtPwd.TabIndex = 7;
|
|
|
|
|
//
|
|
|
|
|
// label4
|
|
|
|
|
//
|
|
|
|
|
this.label4.AutoSize = true;
|
|
|
|
|
this.label4.Location = new System.Drawing.Point(241, 78);
|
|
|
|
|
this.label4.Name = "label4";
|
|
|
|
|
this.label4.Size = new System.Drawing.Size(29, 12);
|
|
|
|
|
this.label4.TabIndex = 6;
|
|
|
|
|
this.label4.Text = "密码";
|
|
|
|
|
//
|
|
|
|
|
// txtCardNO
|
|
|
|
|
//
|
|
|
|
|
this.txtCardNO.Location = new System.Drawing.Point(65, 75);
|
|
|
|
|
this.txtCardNO.Name = "txtCardNO";
|
|
|
|
|
this.txtCardNO.Size = new System.Drawing.Size(140, 21);
|
|
|
|
|
this.txtCardNO.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// label3
|
|
|
|
|
//
|
|
|
|
|
this.label3.AutoSize = true;
|
|
|
|
|
this.label3.Location = new System.Drawing.Point(6, 78);
|
|
|
|
|
this.label3.Name = "label3";
|
|
|
|
|
this.label3.Size = new System.Drawing.Size(29, 12);
|
|
|
|
|
this.label3.TabIndex = 4;
|
|
|
|
|
this.label3.Text = "卡号";
|
|
|
|
|
//
|
|
|
|
|
// dtpReqEnd
|
|
|
|
|
//
|
|
|
|
|
this.dtpReqEnd.Location = new System.Drawing.Point(285, 22);
|
|
|
|
|
this.dtpReqEnd.Name = "dtpReqEnd";
|
|
|
|
|
this.dtpReqEnd.Size = new System.Drawing.Size(144, 21);
|
|
|
|
|
this.dtpReqEnd.TabIndex = 3;
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
this.label2.AutoSize = true;
|
|
|
|
|
this.label2.Location = new System.Drawing.Point(250, 26);
|
|
|
|
|
this.label2.Name = "label2";
|
|
|
|
|
this.label2.Size = new System.Drawing.Size(17, 12);
|
|
|
|
|
this.label2.TabIndex = 2;
|
|
|
|
|
this.label2.Text = "到";
|
|
|
|
|
//
|
|
|
|
|
// dtpReqStart
|
|
|
|
|
//
|
|
|
|
|
this.dtpReqStart.Location = new System.Drawing.Point(74, 22);
|
|
|
|
|
this.dtpReqStart.Name = "dtpReqStart";
|
|
|
|
|
this.dtpReqStart.Size = new System.Drawing.Size(140, 21);
|
|
|
|
|
this.dtpReqStart.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
this.label1.AutoSize = true;
|
|
|
|
|
this.label1.Location = new System.Drawing.Point(15, 26);
|
|
|
|
|
this.label1.Name = "label1";
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(53, 12);
|
|
|
|
|
this.label1.TabIndex = 0;
|
|
|
|
|
this.label1.Text = "申报日期";
|
|
|
|
|
//
|
|
|
|
|
// textBox1
|
|
|
|
|
//
|
|
|
|
|
this.textBox1.Location = new System.Drawing.Point(303, 415);
|
|
|
|
|
this.textBox1.Multiline = true;
|
|
|
|
|
this.textBox1.Name = "textBox1";
|
|
|
|
|
this.textBox1.Size = new System.Drawing.Size(295, 347);
|
|
|
|
|
this.textBox1.TabIndex = 7;
|
|
|
|
|
this.textBox1.Text = resources.GetString("textBox1.Text");
|
|
|
|
|
this.textBox1.Visible = false;
|
|
|
|
|
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// groupParaMail
|
|
|
|
|
//
|
|
|
|
|
this.groupParaMail.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.groupParaMail.Controls.Add(this.txtSubject);
|
|
|
|
|
this.groupParaMail.Controls.Add(this.txtReceiver);
|
|
|
|
|
this.groupParaMail.Controls.Add(this.label6);
|
|
|
|
|
this.groupParaMail.Controls.Add(this.label7);
|
|
|
|
|
this.groupParaMail.Location = new System.Drawing.Point(12, 198);
|
|
|
|
|
this.groupParaMail.Name = "groupParaMail";
|
|
|
|
|
this.groupParaMail.Size = new System.Drawing.Size(454, 85);
|
|
|
|
|
this.groupParaMail.TabIndex = 1;
|
|
|
|
|
this.groupParaMail.TabStop = false;
|
|
|
|
|
this.groupParaMail.Text = "邮件参数";
|
|
|
|
|
//
|
|
|
|
|
// txtSubject
|
|
|
|
|
//
|
|
|
|
|
this.txtSubject.Location = new System.Drawing.Point(74, 57);
|
|
|
|
|
this.txtSubject.Name = "txtSubject";
|
|
|
|
|
this.txtSubject.Size = new System.Drawing.Size(357, 21);
|
|
|
|
|
this.txtSubject.TabIndex = 11;
|
|
|
|
|
//
|
|
|
|
|
// txtReceiver
|
|
|
|
|
//
|
|
|
|
|
this.txtReceiver.Location = new System.Drawing.Point(74, 22);
|
|
|
|
|
this.txtReceiver.Name = "txtReceiver";
|
|
|
|
|
this.txtReceiver.Size = new System.Drawing.Size(356, 21);
|
|
|
|
|
this.txtReceiver.TabIndex = 9;
|
|
|
|
|
//
|
|
|
|
|
// label6
|
|
|
|
|
//
|
|
|
|
|
this.label6.AutoSize = true;
|
|
|
|
|
this.label6.Location = new System.Drawing.Point(15, 60);
|
|
|
|
|
this.label6.Name = "label6";
|
|
|
|
|
this.label6.Size = new System.Drawing.Size(53, 12);
|
|
|
|
|
this.label6.TabIndex = 10;
|
|
|
|
|
this.label6.Text = "邮件主题";
|
|
|
|
|
//
|
|
|
|
|
// label7
|
|
|
|
|
//
|
|
|
|
|
this.label7.AutoSize = true;
|
|
|
|
|
this.label7.Location = new System.Drawing.Point(16, 25);
|
|
|
|
|
this.label7.Name = "label7";
|
|
|
|
|
this.label7.Size = new System.Drawing.Size(41, 12);
|
|
|
|
|
this.label7.TabIndex = 8;
|
|
|
|
|
this.label7.Text = "收件人";
|
|
|
|
|
//
|
|
|
|
|
// btnStart
|
|
|
|
|
//
|
|
|
|
|
this.btnStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.btnStart.Location = new System.Drawing.Point(309, 396);
|
|
|
|
|
this.btnStart.Name = "btnStart";
|
|
|
|
|
this.btnStart.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.btnStart.TabIndex = 2;
|
|
|
|
|
this.btnStart.Text = "开始";
|
|
|
|
|
this.btnStart.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
|
|
|
|
|
//
|
|
|
|
|
// tmrStart
|
|
|
|
|
//
|
|
|
|
|
this.tmrStart.Interval = 10000;
|
|
|
|
|
this.tmrStart.Tick += new System.EventHandler(this.tmrStart_Tick);
|
|
|
|
|
//
|
|
|
|
|
// btnStop
|
|
|
|
|
//
|
|
|
|
|
this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.btnStop.Enabled = false;
|
|
|
|
|
this.btnStop.Location = new System.Drawing.Point(390, 396);
|
|
|
|
|
this.btnStop.Name = "btnStop";
|
|
|
|
|
this.btnStop.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.btnStop.TabIndex = 3;
|
|
|
|
|
this.btnStop.Text = "停止";
|
|
|
|
|
this.btnStop.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
|
|
|
|
|
//
|
|
|
|
|
// statusStrip1
|
|
|
|
|
//
|
|
|
|
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.tslbStatus});
|
|
|
|
|
this.statusStrip1.Location = new System.Drawing.Point(0, 435);
|
|
|
|
|
this.statusStrip1.Name = "statusStrip1";
|
|
|
|
|
this.statusStrip1.Size = new System.Drawing.Size(477, 22);
|
|
|
|
|
this.statusStrip1.TabIndex = 4;
|
|
|
|
|
this.statusStrip1.Text = "statusStrip1";
|
|
|
|
|
//
|
|
|
|
|
// tslbStatus
|
|
|
|
|
//
|
|
|
|
|
this.tslbStatus.Name = "tslbStatus";
|
|
|
|
|
this.tslbStatus.Size = new System.Drawing.Size(32, 17);
|
|
|
|
|
this.tslbStatus.Text = "就绪";
|
|
|
|
|
//
|
|
|
|
|
// tmrExecute
|
|
|
|
|
//
|
|
|
|
|
this.tmrExecute.Interval = 60000;
|
|
|
|
|
this.tmrExecute.Tick += new System.EventHandler(this.tmrExecute_Tick);
|
|
|
|
|
//
|
|
|
|
|
// groupSmtpSet
|
|
|
|
|
//
|
|
|
|
|
this.groupSmtpSet.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.groupSmtpSet.Controls.Add(this.txtMailPwd);
|
|
|
|
|
this.groupSmtpSet.Controls.Add(this.label11);
|
|
|
|
|
this.groupSmtpSet.Controls.Add(this.chkSSL);
|
|
|
|
|
this.groupSmtpSet.Controls.Add(this.numStmpPort);
|
|
|
|
|
this.groupSmtpSet.Controls.Add(this.label10);
|
|
|
|
|
this.groupSmtpSet.Controls.Add(this.txtMailAcc);
|
|
|
|
|
this.groupSmtpSet.Controls.Add(this.label8);
|
|
|
|
|
this.groupSmtpSet.Controls.Add(this.txtSmtpServer);
|
|
|
|
|
this.groupSmtpSet.Controls.Add(this.label9);
|
|
|
|
|
this.groupSmtpSet.Location = new System.Drawing.Point(11, 289);
|
|
|
|
|
this.groupSmtpSet.Name = "groupSmtpSet";
|
|
|
|
|
this.groupSmtpSet.Size = new System.Drawing.Size(454, 101);
|
|
|
|
|
this.groupSmtpSet.TabIndex = 5;
|
|
|
|
|
this.groupSmtpSet.TabStop = false;
|
|
|
|
|
this.groupSmtpSet.Text = "发件设置";
|
|
|
|
|
//
|
|
|
|
|
// txtMailPwd
|
|
|
|
|
//
|
|
|
|
|
this.txtMailPwd.Location = new System.Drawing.Point(265, 57);
|
|
|
|
|
this.txtMailPwd.Name = "txtMailPwd";
|
|
|
|
|
this.txtMailPwd.PasswordChar = '*';
|
|
|
|
|
this.txtMailPwd.Size = new System.Drawing.Size(156, 21);
|
|
|
|
|
this.txtMailPwd.TabIndex = 16;
|
|
|
|
|
//
|
|
|
|
|
// label11
|
|
|
|
|
//
|
|
|
|
|
this.label11.AutoSize = true;
|
|
|
|
|
this.label11.Location = new System.Drawing.Point(230, 60);
|
|
|
|
|
this.label11.Name = "label11";
|
|
|
|
|
this.label11.Size = new System.Drawing.Size(29, 12);
|
|
|
|
|
this.label11.TabIndex = 15;
|
|
|
|
|
this.label11.Text = "密码";
|
|
|
|
|
//
|
|
|
|
|
// chkSSL
|
|
|
|
|
//
|
|
|
|
|
this.chkSSL.AutoSize = true;
|
|
|
|
|
this.chkSSL.Location = new System.Drawing.Point(340, 24);
|
|
|
|
|
this.chkSSL.Name = "chkSSL";
|
|
|
|
|
this.chkSSL.Size = new System.Drawing.Size(90, 16);
|
|
|
|
|
this.chkSSL.TabIndex = 14;
|
|
|
|
|
this.chkSSL.Text = "启用SSL加密";
|
|
|
|
|
this.chkSSL.UseVisualStyleBackColor = true;
|
|
|
|
|
this.chkSSL.CheckedChanged += new System.EventHandler(this.chkSSL_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// numStmpPort
|
|
|
|
|
//
|
|
|
|
|
this.numStmpPort.Location = new System.Drawing.Point(277, 23);
|
|
|
|
|
this.numStmpPort.Maximum = new decimal(new int[] {
|
|
|
|
|
1000,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.numStmpPort.Name = "numStmpPort";
|
|
|
|
|
this.numStmpPort.Size = new System.Drawing.Size(54, 21);
|
|
|
|
|
this.numStmpPort.TabIndex = 13;
|
|
|
|
|
this.numStmpPort.Value = new decimal(new int[] {
|
|
|
|
|
25,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
//
|
|
|
|
|
// label10
|
|
|
|
|
//
|
|
|
|
|
this.label10.AutoSize = true;
|
|
|
|
|
this.label10.Location = new System.Drawing.Point(241, 25);
|
|
|
|
|
this.label10.Name = "label10";
|
|
|
|
|
this.label10.Size = new System.Drawing.Size(29, 12);
|
|
|
|
|
this.label10.TabIndex = 12;
|
|
|
|
|
this.label10.Text = "端口";
|
|
|
|
|
//
|
|
|
|
|
// txtMailAcc
|
|
|
|
|
//
|
|
|
|
|
this.txtMailAcc.Location = new System.Drawing.Point(54, 57);
|
|
|
|
|
this.txtMailAcc.Name = "txtMailAcc";
|
|
|
|
|
this.txtMailAcc.Size = new System.Drawing.Size(161, 21);
|
|
|
|
|
this.txtMailAcc.TabIndex = 11;
|
|
|
|
|
//
|
|
|
|
|
// label8
|
|
|
|
|
//
|
|
|
|
|
this.label8.AutoSize = true;
|
|
|
|
|
this.label8.Location = new System.Drawing.Point(15, 60);
|
|
|
|
|
this.label8.Name = "label8";
|
|
|
|
|
this.label8.Size = new System.Drawing.Size(29, 12);
|
|
|
|
|
this.label8.TabIndex = 10;
|
|
|
|
|
this.label8.Text = "账号";
|
|
|
|
|
//
|
|
|
|
|
// txtSmtpServer
|
|
|
|
|
//
|
|
|
|
|
this.txtSmtpServer.Location = new System.Drawing.Point(87, 22);
|
|
|
|
|
this.txtSmtpServer.Name = "txtSmtpServer";
|
|
|
|
|
this.txtSmtpServer.Size = new System.Drawing.Size(148, 21);
|
|
|
|
|
this.txtSmtpServer.TabIndex = 9;
|
|
|
|
|
//
|
|
|
|
|
// label9
|
|
|
|
|
//
|
|
|
|
|
this.label9.AutoSize = true;
|
|
|
|
|
this.label9.Location = new System.Drawing.Point(16, 25);
|
|
|
|
|
this.label9.Name = "label9";
|
|
|
|
|
this.label9.Size = new System.Drawing.Size(65, 12);
|
|
|
|
|
this.label9.TabIndex = 8;
|
|
|
|
|
this.label9.Text = "SMTP服务器";
|
|
|
|
|
//
|
|
|
|
|
// button1
|
|
|
|
|
//
|
|
|
|
|
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.button1.Location = new System.Drawing.Point(71, 396);
|
|
|
|
|
this.button1.Name = "button1";
|
|
|
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.button1.TabIndex = 6;
|
|
|
|
|
this.button1.Text = "测试";
|
|
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
|
|
|
//
|
|
|
|
|
// groupBox1
|
|
|
|
|
//
|
|
|
|
|
this.groupBox1.AutoSize = true;
|
|
|
|
|
this.groupBox1.Controls.Add(this.radioButton2);
|
|
|
|
|
this.groupBox1.Controls.Add(this.radioButton1);
|
|
|
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 151);
|
|
|
|
|
this.groupBox1.Name = "groupBox1";
|
|
|
|
|
this.groupBox1.Size = new System.Drawing.Size(449, 61);
|
|
|
|
|
this.groupBox1.TabIndex = 8;
|
|
|
|
|
this.groupBox1.TabStop = false;
|
|
|
|
|
this.groupBox1.Text = "公章";
|
|
|
|
|
//
|
|
|
|
|
// radioButton1
|
|
|
|
|
//
|
|
|
|
|
this.radioButton1.AutoSize = true;
|
|
|
|
|
this.radioButton1.Checked = true;
|
|
|
|
|
this.radioButton1.Location = new System.Drawing.Point(21, 25);
|
|
|
|
|
this.radioButton1.Name = "radioButton1";
|
|
|
|
|
this.radioButton1.Size = new System.Drawing.Size(53, 16);
|
|
|
|
|
this.radioButton1.TabIndex = 0;
|
|
|
|
|
this.radioButton1.TabStop = true;
|
|
|
|
|
this.radioButton1.Text = "公章1";
|
|
|
|
|
this.radioButton1.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// radioButton2
|
|
|
|
|
//
|
|
|
|
|
this.radioButton2.AutoSize = true;
|
|
|
|
|
this.radioButton2.Location = new System.Drawing.Point(153, 25);
|
|
|
|
|
this.radioButton2.Name = "radioButton2";
|
|
|
|
|
this.radioButton2.Size = new System.Drawing.Size(53, 16);
|
|
|
|
|
this.radioButton2.TabIndex = 1;
|
|
|
|
|
this.radioButton2.Text = "公章2";
|
|
|
|
|
this.radioButton2.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// FMain
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(477, 457);
|
|
|
|
|
this.Controls.Add(this.groupBox1);
|
|
|
|
|
this.Controls.Add(this.textBox1);
|
|
|
|
|
this.Controls.Add(this.button1);
|
|
|
|
|
this.Controls.Add(this.groupSmtpSet);
|
|
|
|
|
this.Controls.Add(this.statusStrip1);
|
|
|
|
|
this.Controls.Add(this.btnStop);
|
|
|
|
|
this.Controls.Add(this.btnStart);
|
|
|
|
|
this.Controls.Add(this.groupParaMail);
|
|
|
|
|
this.Controls.Add(this.groupParaGet);
|
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
|
|
this.MaximizeBox = false;
|
|
|
|
|
this.Name = "FMain";
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
|
|
this.Text = "报关单提取";
|
|
|
|
|
this.Load += new System.EventHandler(this.FMain_Load);
|
|
|
|
|
this.groupParaGet.ResumeLayout(false);
|
|
|
|
|
this.groupParaGet.PerformLayout();
|
|
|
|
|
this.groupParaMail.ResumeLayout(false);
|
|
|
|
|
this.groupParaMail.PerformLayout();
|
|
|
|
|
this.statusStrip1.ResumeLayout(false);
|
|
|
|
|
this.statusStrip1.PerformLayout();
|
|
|
|
|
this.groupSmtpSet.ResumeLayout(false);
|
|
|
|
|
this.groupSmtpSet.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numStmpPort)).EndInit();
|
|
|
|
|
this.groupBox1.ResumeLayout(false);
|
|
|
|
|
this.groupBox1.PerformLayout();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.GroupBox groupParaGet;
|
|
|
|
|
private System.Windows.Forms.DateTimePicker dtpReqEnd;
|
|
|
|
|
private System.Windows.Forms.Label label2;
|
|
|
|
|
private System.Windows.Forms.DateTimePicker dtpReqStart;
|
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
|
|
private System.Windows.Forms.TextBox txtCardNO;
|
|
|
|
|
private System.Windows.Forms.Label label3;
|
|
|
|
|
private System.Windows.Forms.TextBox txtPwd;
|
|
|
|
|
private System.Windows.Forms.Label label4;
|
|
|
|
|
private System.Windows.Forms.GroupBox groupParaMail;
|
|
|
|
|
private System.Windows.Forms.DateTimePicker dtpGetTime;
|
|
|
|
|
private System.Windows.Forms.Label label5;
|
|
|
|
|
private System.Windows.Forms.TextBox txtSubject;
|
|
|
|
|
private System.Windows.Forms.Label label6;
|
|
|
|
|
private System.Windows.Forms.TextBox txtReceiver;
|
|
|
|
|
private System.Windows.Forms.Label label7;
|
|
|
|
|
private System.Windows.Forms.Button btnStart;
|
|
|
|
|
private System.Windows.Forms.Timer tmrStart;
|
|
|
|
|
private System.Windows.Forms.Button btnStop;
|
|
|
|
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
|
|
|
|
private System.Windows.Forms.ToolStripStatusLabel tslbStatus;
|
|
|
|
|
private System.Windows.Forms.Timer tmrExecute;
|
|
|
|
|
private System.Windows.Forms.GroupBox groupSmtpSet;
|
|
|
|
|
private System.Windows.Forms.TextBox txtMailAcc;
|
|
|
|
|
private System.Windows.Forms.Label label8;
|
|
|
|
|
private System.Windows.Forms.TextBox txtSmtpServer;
|
|
|
|
|
private System.Windows.Forms.Label label9;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown numStmpPort;
|
|
|
|
|
private System.Windows.Forms.Label label10;
|
|
|
|
|
private System.Windows.Forms.CheckBox chkSSL;
|
|
|
|
|
private System.Windows.Forms.TextBox txtMailPwd;
|
|
|
|
|
private System.Windows.Forms.Label label11;
|
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
|
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
|
|
|
private System.Windows.Forms.CheckBox chkNotGZ;
|
|
|
|
|
private System.Windows.Forms.TextBox txtupdateUser;
|
|
|
|
|
private System.Windows.Forms.Label label12;
|
|
|
|
|
private System.Windows.Forms.CheckBox checkBoxIsCl;
|
|
|
|
|
private System.Windows.Forms.RadioButton rdImport;
|
|
|
|
|
private System.Windows.Forms.RadioButton rdExport;
|
|
|
|
|
private System.Windows.Forms.CheckBox checkBoxCYTZ;
|
|
|
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
|
|
|
private System.Windows.Forms.RadioButton radioButton2;
|
|
|
|
|
private System.Windows.Forms.RadioButton radioButton1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|