namespace PostToWX { partial class Form1 { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.textBox1 = new System.Windows.Forms.TextBox(); this.btnRefrash = new System.Windows.Forms.Button(); this.timer2 = new System.Windows.Forms.Timer(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.label6 = new System.Windows.Forms.Label(); this.textBox6 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.txtPassword = new System.Windows.Forms.TextBox(); this.txtUser = new System.Windows.Forms.TextBox(); this.txtDBName = new System.Windows.Forms.TextBox(); this.txtServerName = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // timer1 // this.timer1.Interval = 30000; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // textBox1 // this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.textBox1.Location = new System.Drawing.Point(0, 65); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textBox1.Size = new System.Drawing.Size(729, 396); this.textBox1.TabIndex = 0; // // btnRefrash // this.btnRefrash.Location = new System.Drawing.Point(646, 36); this.btnRefrash.Name = "btnRefrash"; this.btnRefrash.Size = new System.Drawing.Size(75, 23); this.btnRefrash.TabIndex = 1; this.btnRefrash.Text = "开始同步"; this.btnRefrash.UseVisualStyleBackColor = true; this.btnRefrash.Click += new System.EventHandler(this.btnRefrash_Click); // // timer2 // this.timer2.Enabled = true; this.timer2.Interval = 3600000; this.timer2.Tick += new System.EventHandler(this.timer2_Tick); // // panel1 // this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.textBox6); this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.txtPassword); this.panel1.Controls.Add(this.txtUser); this.panel1.Controls.Add(this.txtDBName); this.panel1.Controls.Add(this.txtServerName); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.btnRefrash); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(729, 65); this.panel1.TabIndex = 5; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(217, 39); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(101, 12); this.label6.TabIndex = 14; this.label6.Text = "分钟(最短10分钟)"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // textBox6 // this.textBox6.Location = new System.Drawing.Point(94, 35); this.textBox6.Multiline = true; this.textBox6.Name = "textBox6"; this.textBox6.Size = new System.Drawing.Size(117, 21); this.textBox6.TabIndex = 13; this.textBox6.Text = "10"; this.textBox6.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBox6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox6_KeyPress); // // button1 // this.button1.Location = new System.Drawing.Point(646, 7); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 12; this.button1.Text = "连接数据库"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click_1); // // txtPassword // this.txtPassword.Location = new System.Drawing.Point(548, 8); this.txtPassword.Multiline = true; this.txtPassword.Name = "txtPassword"; this.txtPassword.PasswordChar = '*'; this.txtPassword.Size = new System.Drawing.Size(92, 21); this.txtPassword.TabIndex = 11; // // txtUser // this.txtUser.Location = new System.Drawing.Point(417, 8); this.txtUser.Multiline = true; this.txtUser.Name = "txtUser"; this.txtUser.Size = new System.Drawing.Size(92, 21); this.txtUser.TabIndex = 10; // // txtDBName // this.txtDBName.Location = new System.Drawing.Point(275, 8); this.txtDBName.Multiline = true; this.txtDBName.Name = "txtDBName"; this.txtDBName.Size = new System.Drawing.Size(92, 21); this.txtDBName.TabIndex = 8; // // txtServerName // this.txtServerName.Location = new System.Drawing.Point(94, 8); this.txtServerName.Multiline = true; this.txtServerName.Name = "txtServerName"; this.txtServerName.Size = new System.Drawing.Size(117, 21); this.txtServerName.TabIndex = 7; // // label5 // this.label5.Location = new System.Drawing.Point(12, 36); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(85, 17); this.label5.TabIndex = 6; this.label5.Text = "同步时间间隔:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label4 // this.label4.Location = new System.Drawing.Point(217, 9); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(61, 17); this.label4.TabIndex = 5; this.label4.Text = "数据库名:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.Location = new System.Drawing.Point(373, 9); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(47, 17); this.label3.TabIndex = 4; this.label3.Text = "用户名:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label2 // this.label2.Location = new System.Drawing.Point(515, 9); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(36, 17); this.label2.TabIndex = 3; this.label2.Text = "密码:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label1 // this.label1.Location = new System.Drawing.Point(22, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 17); this.label1.TabIndex = 2; this.label1.Text = "数据库地址:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel2 // this.panel2.Controls.Add(this.textBox1); this.panel2.Controls.Add(this.panel1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(729, 461); this.panel2.TabIndex = 6; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(729, 461); this.Controls.Add(this.panel2); this.MinimumSize = new System.Drawing.Size(745, 200); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "同步工具"; this.Load += new System.EventHandler(this.Form1_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Timer timer1; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.Button btnRefrash; private System.Windows.Forms.Timer timer2; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Panel panel2; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label6; private System.Windows.Forms.TextBox textBox6; private System.Windows.Forms.Button button1; private System.Windows.Forms.TextBox txtPassword; private System.Windows.Forms.TextBox txtUser; private System.Windows.Forms.TextBox txtDBName; private System.Windows.Forms.TextBox txtServerName; private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label2; } }