ab56a9bcf7
SVN-Revision: r240
388 lines
17 KiB
C#
388 lines
17 KiB
C#
namespace Lskj_SyncAccessData
|
|
{
|
|
partial class FrmMain
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.txt_log = new System.Windows.Forms.TextBox();
|
|
this.pal_top = new System.Windows.Forms.Panel();
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
this.accesTabName = new System.Windows.Forms.TextBox();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.textBox3 = new System.Windows.Forms.TextBox();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.txtFilePath = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.txtUserName = new System.Windows.Forms.TextBox();
|
|
this.btnOpen = new System.Windows.Forms.Button();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.txtPass = new System.Windows.Forms.TextBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.txtServerName = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.txtDBName = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.btnConnect = new System.Windows.Forms.Button();
|
|
this.txtTime = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.btnSync = new System.Windows.Forms.Button();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.TargetTab = new System.Windows.Forms.ComboBox();
|
|
this.panel1.SuspendLayout();
|
|
this.pal_top.SuspendLayout();
|
|
this.groupBox3.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.groupBox1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.txt_log);
|
|
this.panel1.Controls.Add(this.pal_top);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(1009, 507);
|
|
this.panel1.TabIndex = 0;
|
|
//
|
|
// txt_log
|
|
//
|
|
this.txt_log.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.txt_log.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.txt_log.Font = new System.Drawing.Font("微软雅黑", 10F);
|
|
this.txt_log.Location = new System.Drawing.Point(0, 110);
|
|
this.txt_log.Multiline = true;
|
|
this.txt_log.Name = "txt_log";
|
|
this.txt_log.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
|
this.txt_log.Size = new System.Drawing.Size(1009, 397);
|
|
this.txt_log.TabIndex = 2;
|
|
//
|
|
// pal_top
|
|
//
|
|
this.pal_top.Controls.Add(this.groupBox3);
|
|
this.pal_top.Controls.Add(this.groupBox2);
|
|
this.pal_top.Controls.Add(this.groupBox1);
|
|
this.pal_top.Controls.Add(this.btnConnect);
|
|
this.pal_top.Controls.Add(this.txtTime);
|
|
this.pal_top.Controls.Add(this.label5);
|
|
this.pal_top.Controls.Add(this.btnSync);
|
|
this.pal_top.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.pal_top.Location = new System.Drawing.Point(0, 0);
|
|
this.pal_top.Name = "pal_top";
|
|
this.pal_top.Size = new System.Drawing.Size(1009, 110);
|
|
this.pal_top.TabIndex = 0;
|
|
//
|
|
// groupBox3
|
|
//
|
|
this.groupBox3.Controls.Add(this.TargetTab);
|
|
this.groupBox3.Controls.Add(this.label8);
|
|
this.groupBox3.Controls.Add(this.accesTabName);
|
|
this.groupBox3.Controls.Add(this.label7);
|
|
this.groupBox3.Controls.Add(this.button1);
|
|
this.groupBox3.Controls.Add(this.textBox3);
|
|
this.groupBox3.ForeColor = System.Drawing.Color.Red;
|
|
this.groupBox3.Location = new System.Drawing.Point(628, 4);
|
|
this.groupBox3.Name = "groupBox3";
|
|
this.groupBox3.Size = new System.Drawing.Size(210, 100);
|
|
this.groupBox3.TabIndex = 23;
|
|
this.groupBox3.TabStop = false;
|
|
this.groupBox3.Text = "同步表用英文“,”隔开";
|
|
//
|
|
// accesTabName
|
|
//
|
|
this.accesTabName.Location = new System.Drawing.Point(6, 18);
|
|
this.accesTabName.Multiline = true;
|
|
this.accesTabName.Name = "accesTabName";
|
|
this.accesTabName.Size = new System.Drawing.Size(195, 39);
|
|
this.accesTabName.TabIndex = 22;
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(271, 26);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(60, 31);
|
|
this.button1.TabIndex = 19;
|
|
this.button1.Text = "打开";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
//
|
|
// textBox3
|
|
//
|
|
this.textBox3.Location = new System.Drawing.Point(246, 63);
|
|
this.textBox3.Name = "textBox3";
|
|
this.textBox3.PasswordChar = '*';
|
|
this.textBox3.Size = new System.Drawing.Size(85, 23);
|
|
this.textBox3.TabIndex = 13;
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Controls.Add(this.txtFilePath);
|
|
this.groupBox2.Controls.Add(this.label6);
|
|
this.groupBox2.Controls.Add(this.txtUserName);
|
|
this.groupBox2.Controls.Add(this.btnOpen);
|
|
this.groupBox2.Controls.Add(this.label4);
|
|
this.groupBox2.Controls.Add(this.txtPass);
|
|
this.groupBox2.Controls.Add(this.label1);
|
|
this.groupBox2.Location = new System.Drawing.Point(281, 3);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(341, 100);
|
|
this.groupBox2.TabIndex = 22;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "基本信息";
|
|
//
|
|
// txtFilePath
|
|
//
|
|
this.txtFilePath.Location = new System.Drawing.Point(87, 30);
|
|
this.txtFilePath.Name = "txtFilePath";
|
|
this.txtFilePath.Size = new System.Drawing.Size(180, 23);
|
|
this.txtFilePath.TabIndex = 17;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(7, 34);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(77, 14);
|
|
this.label6.TabIndex = 18;
|
|
this.label6.Text = "显示路径:";
|
|
//
|
|
// txtUserName
|
|
//
|
|
this.txtUserName.Location = new System.Drawing.Point(87, 63);
|
|
this.txtUserName.Name = "txtUserName";
|
|
this.txtUserName.Size = new System.Drawing.Size(98, 23);
|
|
this.txtUserName.TabIndex = 10;
|
|
//
|
|
// btnOpen
|
|
//
|
|
this.btnOpen.Location = new System.Drawing.Point(271, 26);
|
|
this.btnOpen.Name = "btnOpen";
|
|
this.btnOpen.Size = new System.Drawing.Size(60, 31);
|
|
this.btnOpen.TabIndex = 19;
|
|
this.btnOpen.Text = "打开";
|
|
this.btnOpen.UseVisualStyleBackColor = true;
|
|
this.btnOpen.Click += new System.EventHandler(this.OnOpenClick);
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(21, 67);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(63, 14);
|
|
this.label4.TabIndex = 11;
|
|
this.label4.Text = "用户名:";
|
|
//
|
|
// txtPass
|
|
//
|
|
this.txtPass.Location = new System.Drawing.Point(246, 63);
|
|
this.txtPass.Name = "txtPass";
|
|
this.txtPass.PasswordChar = '*';
|
|
this.txtPass.Size = new System.Drawing.Size(85, 23);
|
|
this.txtPass.TabIndex = 13;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(194, 67);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(49, 14);
|
|
this.label1.TabIndex = 12;
|
|
this.label1.Text = "密码:";
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.txtServerName);
|
|
this.groupBox1.Controls.Add(this.label2);
|
|
this.groupBox1.Controls.Add(this.txtDBName);
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
this.groupBox1.Location = new System.Drawing.Point(6, 3);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(271, 100);
|
|
this.groupBox1.TabIndex = 21;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "服务器信息";
|
|
//
|
|
// txtServerName
|
|
//
|
|
this.txtServerName.Location = new System.Drawing.Point(102, 30);
|
|
this.txtServerName.Name = "txtServerName";
|
|
this.txtServerName.Size = new System.Drawing.Size(158, 23);
|
|
this.txtServerName.TabIndex = 3;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(8, 34);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(91, 14);
|
|
this.label2.TabIndex = 4;
|
|
this.label2.Text = "数据库地址:";
|
|
//
|
|
// txtDBName
|
|
//
|
|
this.txtDBName.Location = new System.Drawing.Point(102, 63);
|
|
this.txtDBName.Name = "txtDBName";
|
|
this.txtDBName.Size = new System.Drawing.Size(158, 23);
|
|
this.txtDBName.TabIndex = 9;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(8, 67);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(91, 14);
|
|
this.label3.TabIndex = 6;
|
|
this.label3.Text = "数据库名称:";
|
|
//
|
|
// btnConnect
|
|
//
|
|
this.btnConnect.Location = new System.Drawing.Point(844, 59);
|
|
this.btnConnect.Name = "btnConnect";
|
|
this.btnConnect.Size = new System.Drawing.Size(75, 31);
|
|
this.btnConnect.TabIndex = 20;
|
|
this.btnConnect.Text = "测试连接";
|
|
this.btnConnect.UseVisualStyleBackColor = true;
|
|
this.btnConnect.Click += new System.EventHandler(this.OnConnectClick);
|
|
//
|
|
// txtTime
|
|
//
|
|
this.txtTime.Location = new System.Drawing.Point(934, 25);
|
|
this.txtTime.Name = "txtTime";
|
|
this.txtTime.Size = new System.Drawing.Size(67, 23);
|
|
this.txtTime.TabIndex = 14;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(840, 29);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(91, 14);
|
|
this.label5.TabIndex = 15;
|
|
this.label5.Text = "间隔时间(分)";
|
|
//
|
|
// btnSync
|
|
//
|
|
this.btnSync.Location = new System.Drawing.Point(927, 59);
|
|
this.btnSync.Name = "btnSync";
|
|
this.btnSync.Size = new System.Drawing.Size(75, 31);
|
|
this.btnSync.TabIndex = 8;
|
|
this.btnSync.Text = "数据同步";
|
|
this.btnSync.UseVisualStyleBackColor = true;
|
|
this.btnSync.Click += new System.EventHandler(this.OnStartClick);
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.ForeColor = System.Drawing.Color.Red;
|
|
this.label7.Location = new System.Drawing.Point(6, 21);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(0, 14);
|
|
this.label7.TabIndex = 21;
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.ForeColor = System.Drawing.Color.Black;
|
|
this.label8.Location = new System.Drawing.Point(6, 66);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(63, 14);
|
|
this.label8.TabIndex = 23;
|
|
this.label8.Text = "目标表:";
|
|
//
|
|
// TargetTab
|
|
//
|
|
this.TargetTab.FormattingEnabled = true;
|
|
this.TargetTab.Location = new System.Drawing.Point(65, 63);
|
|
this.TargetTab.Name = "TargetTab";
|
|
this.TargetTab.Size = new System.Drawing.Size(136, 21);
|
|
this.TargetTab.TabIndex = 24;
|
|
this.TargetTab.SelectedIndexChanged += new System.EventHandler(this.TargetTab_SelectedIndexChanged);
|
|
//
|
|
// FrmMain
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1009, 507);
|
|
this.Controls.Add(this.panel1);
|
|
this.Font = new System.Drawing.Font("宋体", 10F);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.Name = "FrmMain";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "同步数据";
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
this.pal_top.ResumeLayout(false);
|
|
this.pal_top.PerformLayout();
|
|
this.groupBox3.ResumeLayout(false);
|
|
this.groupBox3.PerformLayout();
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox2.PerformLayout();
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Panel pal_top;
|
|
private System.Windows.Forms.TextBox txt_log;
|
|
private System.Windows.Forms.Button btnSync;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox txtTime;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox txtPass;
|
|
private System.Windows.Forms.TextBox txtUserName;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox txtDBName;
|
|
private System.Windows.Forms.TextBox txtServerName;
|
|
private System.Windows.Forms.Button btnConnect;
|
|
private System.Windows.Forms.Button btnOpen;
|
|
private System.Windows.Forms.TextBox txtFilePath;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.GroupBox groupBox3;
|
|
private System.Windows.Forms.TextBox accesTabName;
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.TextBox textBox3;
|
|
private System.Windows.Forms.ComboBox TargetTab;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.Label label7;
|
|
|
|
}
|
|
}
|
|
|