f89aeb9e6c
SVN-Revision: r995
341 lines
16 KiB
C#
341 lines
16 KiB
C#
using System;
|
||
using System.ComponentModel;
|
||
using System.Drawing;
|
||
using System.Windows.Forms;
|
||
|
||
namespace GetApiData
|
||
{
|
||
partial class FrmMain
|
||
{
|
||
/// <summary>
|
||
/// 必需的设计器变量。
|
||
/// </summary>
|
||
private IContainer components = null;
|
||
|
||
private TextBox textServerName;
|
||
private TextBox textBaseName;
|
||
private Label labelServerName;
|
||
private Label labelBaseName;
|
||
private Button btnCheck;
|
||
private Button btnClose;
|
||
private Panel panel1;
|
||
private Panel panel2;
|
||
private ProgressBar progressBar;
|
||
private TextBox resultText;
|
||
private CheckBox kingdoToRyCheck;
|
||
private CheckBox RyToKingdoCheck;
|
||
|
||
/// <summary>
|
||
/// 清理所有正在使用的资源。
|
||
/// </summary>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null)) components.Dispose();
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Windows 窗体设计器生成的代码
|
||
|
||
private void InitializeComponent()
|
||
{
|
||
this.textServerName = new System.Windows.Forms.TextBox();
|
||
this.textBaseName = new System.Windows.Forms.TextBox();
|
||
this.labelServerName = new System.Windows.Forms.Label();
|
||
this.labelBaseName = new System.Windows.Forms.Label();
|
||
this.btnCheck = new System.Windows.Forms.Button();
|
||
this.btnClose = new System.Windows.Forms.Button();
|
||
this.panel1 = new System.Windows.Forms.Panel();
|
||
this.panel2 = new System.Windows.Forms.Panel();
|
||
this.progressBar = new System.Windows.Forms.ProgressBar();
|
||
this.resultText = new System.Windows.Forms.TextBox();
|
||
this.kingdoToRyCheck = new System.Windows.Forms.CheckBox();
|
||
this.RyToKingdoCheck = new System.Windows.Forms.CheckBox();
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.label2 = new System.Windows.Forms.Label();
|
||
this.k3appId = new System.Windows.Forms.TextBox();
|
||
this.k3ServerName = new System.Windows.Forms.TextBox();
|
||
this.label3 = new System.Windows.Forms.Label();
|
||
this.k3appSecret = new System.Windows.Forms.TextBox();
|
||
this.label4 = new System.Windows.Forms.Label();
|
||
this.k3dbId = new System.Windows.Forms.TextBox();
|
||
this.label5 = new System.Windows.Forms.Label();
|
||
this.k3userName = new System.Windows.Forms.TextBox();
|
||
this.label6 = new System.Windows.Forms.Label();
|
||
this.k3number = new System.Windows.Forms.TextBox();
|
||
this.panel1.SuspendLayout();
|
||
this.panel2.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// textServerName
|
||
//
|
||
this.textServerName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||
| System.Windows.Forms.AnchorStyles.Right)));
|
||
this.textServerName.Location = new System.Drawing.Point(92, 9);
|
||
this.textServerName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.textServerName.Name = "textServerName";
|
||
this.textServerName.Size = new System.Drawing.Size(575, 21);
|
||
this.textServerName.TabIndex = 0;
|
||
this.textServerName.Text = "183.223.99.133,14331";
|
||
//
|
||
// textBaseName
|
||
//
|
||
this.textBaseName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||
| System.Windows.Forms.AnchorStyles.Right)));
|
||
this.textBaseName.Location = new System.Drawing.Point(92, 34);
|
||
this.textBaseName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.textBaseName.Name = "textBaseName";
|
||
this.textBaseName.Size = new System.Drawing.Size(575, 21);
|
||
this.textBaseName.TabIndex = 1;
|
||
this.textBaseName.Text = "lserp_cs";
|
||
//
|
||
// labelServerName
|
||
//
|
||
this.labelServerName.AutoSize = true;
|
||
this.labelServerName.Location = new System.Drawing.Point(9, 12);
|
||
this.labelServerName.Name = "labelServerName";
|
||
this.labelServerName.Size = new System.Drawing.Size(77, 12);
|
||
this.labelServerName.TabIndex = 2;
|
||
this.labelServerName.Text = "服务器地址:";
|
||
//
|
||
// labelBaseName
|
||
//
|
||
this.labelBaseName.AutoSize = true;
|
||
this.labelBaseName.Location = new System.Drawing.Point(9, 36);
|
||
this.labelBaseName.Name = "labelBaseName";
|
||
this.labelBaseName.Size = new System.Drawing.Size(77, 12);
|
||
this.labelBaseName.TabIndex = 3;
|
||
this.labelBaseName.Text = "数据库名称:";
|
||
//
|
||
// btnCheck
|
||
//
|
||
this.btnCheck.Location = new System.Drawing.Point(533, 212);
|
||
this.btnCheck.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.btnCheck.Name = "btnCheck";
|
||
this.btnCheck.Size = new System.Drawing.Size(64, 22);
|
||
this.btnCheck.TabIndex = 4;
|
||
this.btnCheck.Text = "开始同步";
|
||
this.btnCheck.UseVisualStyleBackColor = true;
|
||
this.btnCheck.Click += new System.EventHandler(this.OnbtnCheck_Click);
|
||
//
|
||
// btnClose
|
||
//
|
||
this.btnClose.Location = new System.Drawing.Point(603, 212);
|
||
this.btnClose.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.btnClose.Name = "btnClose";
|
||
this.btnClose.Size = new System.Drawing.Size(64, 22);
|
||
this.btnClose.TabIndex = 5;
|
||
this.btnClose.Text = "关闭";
|
||
this.btnClose.UseVisualStyleBackColor = true;
|
||
this.btnClose.Click += new System.EventHandler(this.OnbtnClose_Click);
|
||
//
|
||
// panel1
|
||
//
|
||
this.panel1.Controls.Add(this.panel2);
|
||
this.panel1.Controls.Add(this.resultText);
|
||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||
this.panel1.Location = new System.Drawing.Point(0, 241);
|
||
this.panel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.panel1.Name = "panel1";
|
||
this.panel1.Size = new System.Drawing.Size(677, 287);
|
||
this.panel1.TabIndex = 6;
|
||
//
|
||
// panel2
|
||
//
|
||
this.panel2.Controls.Add(this.progressBar);
|
||
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||
this.panel2.Location = new System.Drawing.Point(0, 267);
|
||
this.panel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.panel2.Name = "panel2";
|
||
this.panel2.Size = new System.Drawing.Size(677, 20);
|
||
this.panel2.TabIndex = 1;
|
||
//
|
||
// progressBar
|
||
//
|
||
this.progressBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.progressBar.Location = new System.Drawing.Point(0, 0);
|
||
this.progressBar.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.progressBar.Name = "progressBar";
|
||
this.progressBar.Size = new System.Drawing.Size(677, 20);
|
||
this.progressBar.TabIndex = 2;
|
||
//
|
||
// resultText
|
||
//
|
||
this.resultText.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.resultText.Location = new System.Drawing.Point(0, 0);
|
||
this.resultText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.resultText.Multiline = true;
|
||
this.resultText.Name = "resultText";
|
||
this.resultText.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||
this.resultText.Size = new System.Drawing.Size(677, 287);
|
||
this.resultText.TabIndex = 0;
|
||
//
|
||
// kingdoToRyCheck
|
||
//
|
||
this.kingdoToRyCheck.AutoSize = true;
|
||
this.kingdoToRyCheck.Location = new System.Drawing.Point(11, 218);
|
||
this.kingdoToRyCheck.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.kingdoToRyCheck.Name = "kingdoToRyCheck";
|
||
this.kingdoToRyCheck.Size = new System.Drawing.Size(84, 16);
|
||
this.kingdoToRyCheck.TabIndex = 7;
|
||
this.kingdoToRyCheck.Text = "金蝶到蕊源";
|
||
this.kingdoToRyCheck.UseVisualStyleBackColor = true;
|
||
//
|
||
// RyToKingdoCheck
|
||
//
|
||
this.RyToKingdoCheck.AutoSize = true;
|
||
this.RyToKingdoCheck.Location = new System.Drawing.Point(107, 218);
|
||
this.RyToKingdoCheck.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.RyToKingdoCheck.Name = "RyToKingdoCheck";
|
||
this.RyToKingdoCheck.Size = new System.Drawing.Size(84, 16);
|
||
this.RyToKingdoCheck.TabIndex = 8;
|
||
this.RyToKingdoCheck.Text = "蕊源到金蝶";
|
||
this.RyToKingdoCheck.UseVisualStyleBackColor = true;
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.Location = new System.Drawing.Point(9, 86);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(47, 12);
|
||
this.label1.TabIndex = 12;
|
||
this.label1.Text = "appId:";
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.AutoSize = true;
|
||
this.label2.Location = new System.Drawing.Point(9, 62);
|
||
this.label2.Name = "label2";
|
||
this.label2.Size = new System.Drawing.Size(65, 12);
|
||
this.label2.TabIndex = 11;
|
||
this.label2.Text = "金蝶地址:";
|
||
//
|
||
// k3appId
|
||
//
|
||
this.k3appId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||
| System.Windows.Forms.AnchorStyles.Right)));
|
||
this.k3appId.Location = new System.Drawing.Point(92, 84);
|
||
this.k3appId.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.k3appId.Name = "k3appId";
|
||
this.k3appId.Size = new System.Drawing.Size(575, 21);
|
||
this.k3appId.TabIndex = 10;
|
||
this.k3appId.Text = "214972_7c3q2cuP4npZ2a1EQ/TtSZ9G4L2W7smL";
|
||
//
|
||
// k3ServerName
|
||
//
|
||
this.k3ServerName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||
| System.Windows.Forms.AnchorStyles.Right)));
|
||
this.k3ServerName.Location = new System.Drawing.Point(92, 59);
|
||
this.k3ServerName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.k3ServerName.Name = "k3ServerName";
|
||
this.k3ServerName.Size = new System.Drawing.Size(575, 21);
|
||
this.k3ServerName.TabIndex = 9;
|
||
this.k3ServerName.Text = "https://rychip.ik3cloud.com/k3cloud/";
|
||
//
|
||
// label3
|
||
//
|
||
this.label3.AutoSize = true;
|
||
this.label3.Location = new System.Drawing.Point(9, 111);
|
||
this.label3.Name = "label3";
|
||
this.label3.Size = new System.Drawing.Size(71, 12);
|
||
this.label3.TabIndex = 14;
|
||
this.label3.Text = "appSecret:";
|
||
//
|
||
// k3appSecret
|
||
//
|
||
this.k3appSecret.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||
| System.Windows.Forms.AnchorStyles.Right)));
|
||
this.k3appSecret.Location = new System.Drawing.Point(92, 109);
|
||
this.k3appSecret.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.k3appSecret.Name = "k3appSecret";
|
||
this.k3appSecret.PasswordChar = '*';
|
||
this.k3appSecret.Size = new System.Drawing.Size(575, 21);
|
||
this.k3appSecret.TabIndex = 13;
|
||
this.k3appSecret.Text = "e36cf74480c24f23b33eddb76760b434";
|
||
//
|
||
// label4
|
||
//
|
||
this.label4.AutoSize = true;
|
||
this.label4.Location = new System.Drawing.Point(9, 136);
|
||
this.label4.Name = "label4";
|
||
this.label4.Size = new System.Drawing.Size(41, 12);
|
||
this.label4.TabIndex = 16;
|
||
this.label4.Text = "dbId:";
|
||
//
|
||
// k3dbId
|
||
//
|
||
this.k3dbId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||
| System.Windows.Forms.AnchorStyles.Right)));
|
||
this.k3dbId.Location = new System.Drawing.Point(92, 134);
|
||
this.k3dbId.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.k3dbId.Name = "k3dbId";
|
||
this.k3dbId.Size = new System.Drawing.Size(575, 21);
|
||
this.k3dbId.TabIndex = 15;
|
||
this.k3dbId.Text = "20180807124126";
|
||
//
|
||
// label5
|
||
//
|
||
this.label5.AutoSize = true;
|
||
this.label5.Location = new System.Drawing.Point(9, 161);
|
||
this.label5.Name = "label5";
|
||
this.label5.Size = new System.Drawing.Size(65, 12);
|
||
this.label5.TabIndex = 18;
|
||
this.label5.Text = "userName:";
|
||
//
|
||
// k3userName
|
||
//
|
||
this.k3userName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||
| System.Windows.Forms.AnchorStyles.Right)));
|
||
this.k3userName.Location = new System.Drawing.Point(92, 159);
|
||
this.k3userName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.k3userName.Name = "k3userName";
|
||
this.k3userName.Size = new System.Drawing.Size(575, 21);
|
||
this.k3userName.TabIndex = 17;
|
||
this.k3userName.Text = "administrator";
|
||
//
|
||
// label6
|
||
//
|
||
this.label6.AutoSize = true;
|
||
this.label6.Location = new System.Drawing.Point(9, 186);
|
||
this.label6.Name = "label6";
|
||
this.label6.Size = new System.Drawing.Size(65, 12);
|
||
this.label6.TabIndex = 20;
|
||
this.label6.Text = "组织机构:";
|
||
//
|
||
// k3number
|
||
//
|
||
this.k3number.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||
| System.Windows.Forms.AnchorStyles.Right)));
|
||
this.k3number.Location = new System.Drawing.Point(92, 184);
|
||
this.k3number.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||
this.k3number.Name = "k3number";
|
||
this.k3number.Size = new System.Drawing.Size(575, 21);
|
||
this.k3number.TabIndex = 19;
|
||
this.k3number.Text = "101";
|
||
//
|
||
// FrmMain
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(677, 528);
|
||
this.Controls.Add(this.label6);
|
||
this.Controls.Add(this.k3number);
|
||
this.Controls.Add(this.label5);
|
||
this.Controls.Add(this.k3userName);
|
||
this.Controls.Add(this.label4);
|
||
this.Controls.Add(this.k3dbId);
|
||
this.Controls.Add(this.label3);
|
||
this.Controls.Add(this.k3appSecret);
|
||
this.Controls.Add(this.label1);
|
||
this.Controls.Add(this.label2);
|
||
this.Controls.Add(this.k3appId);
|
||
this.Controls.Add(this.k3ServerName);
|
||
this.Controls.Add(this.RyToKingdoCheck);
|
||
this.Controls.Add(this.kingdoToRyCheck);
|
||
this.Controls.Add(this.panel1);
|
||
this.Controls.Add(this.btnClose);
|
||
this.Controls.Add(this.btnCheck);
|
||
this.Controls.Add(this.labelBaseName);
|
||
this.Controls.Add(this.labelServerName);
|
||
this.Controls.Add(this.textBaseName);
|
||
this.Controls.Add(this.textServerName);
|
||
|