178 lines
7.8 KiB
C#
178 lines
7.8 KiB
C#
namespace DataMirrorToolsPage
|
|
{
|
|
partial class ConnectSelect
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.btn_Sure = new System.Windows.Forms.Button();
|
|
this.dgv_ConnInfo = new System.Windows.Forms.DataGridView();
|
|
this.连接代码 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.名称 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.类型 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.服务器 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.启用 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.描述 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.btn_Refresh = new System.Windows.Forms.Button();
|
|
this.btn_Cancel = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgv_ConnInfo)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// btn_Sure
|
|
//
|
|
this.btn_Sure.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.btn_Sure.Location = new System.Drawing.Point(241, 177);
|
|
this.btn_Sure.Name = "btn_Sure";
|
|
this.btn_Sure.Size = new System.Drawing.Size(75, 23);
|
|
this.btn_Sure.TabIndex = 2;
|
|
this.btn_Sure.Text = "确定";
|
|
this.btn_Sure.UseVisualStyleBackColor = true;
|
|
this.btn_Sure.Click += new System.EventHandler(this.btn_Sure_Click);
|
|
//
|
|
// dgv_ConnInfo
|
|
//
|
|
this.dgv_ConnInfo.AllowUserToAddRows = false;
|
|
this.dgv_ConnInfo.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
|
|
this.dgv_ConnInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgv_ConnInfo.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.连接代码,
|
|
this.名称,
|
|
this.类型,
|
|
this.服务器,
|
|
this.启用,
|
|
this.描述});
|
|
this.dgv_ConnInfo.Location = new System.Drawing.Point(7, 8);
|
|
this.dgv_ConnInfo.Name = "dgv_ConnInfo";
|
|
this.dgv_ConnInfo.ReadOnly = true;
|
|
this.dgv_ConnInfo.RowHeadersVisible = false;
|
|
this.dgv_ConnInfo.RowTemplate.Height = 23;
|
|
this.dgv_ConnInfo.Size = new System.Drawing.Size(390, 163);
|
|
this.dgv_ConnInfo.TabIndex = 3;
|
|
this.dgv_ConnInfo.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_ConnInfo_CellClick);
|
|
//
|
|
// 连接代码
|
|
//
|
|
this.连接代码.DataPropertyName = "DeviceCode";
|
|
this.连接代码.HeaderText = "连接代码";
|
|
this.连接代码.Name = "连接代码";
|
|
this.连接代码.ReadOnly = true;
|
|
this.连接代码.Visible = false;
|
|
//
|
|
// 名称
|
|
//
|
|
this.名称.DataPropertyName = "Name";
|
|
this.名称.HeaderText = "名称";
|
|
this.名称.Name = "名称";
|
|
this.名称.ReadOnly = true;
|
|
this.名称.Width = 200;
|
|
//
|
|
// 类型
|
|
//
|
|
this.类型.DataPropertyName = "DeviceType";
|
|
this.类型.HeaderText = "类型";
|
|
this.类型.Name = "类型";
|
|
this.类型.ReadOnly = true;
|
|
//
|
|
// 服务器
|
|
//
|
|
this.服务器.DataPropertyName = "IP";
|
|
this.服务器.HeaderText = "服务器";
|
|
this.服务器.Name = "服务器";
|
|
this.服务器.ReadOnly = true;
|
|
this.服务器.Width = 300;
|
|
//
|
|
// 启用
|
|
//
|
|
this.启用.DataPropertyName = "IsEnable";
|
|
this.启用.HeaderText = "启用";
|
|
this.启用.Name = "启用";
|
|
this.启用.ReadOnly = true;
|
|
//
|
|
// 描述
|
|
//
|
|
this.描述.DataPropertyName = "Explain";
|
|
this.描述.HeaderText = "描述";
|
|
this.描述.Name = "描述";
|
|
this.描述.ReadOnly = true;
|
|
//
|
|
// btn_Refresh
|
|
//
|
|
this.btn_Refresh.Location = new System.Drawing.Point(7, 177);
|
|
this.btn_Refresh.Name = "btn_Refresh";
|
|
this.btn_Refresh.Size = new System.Drawing.Size(75, 23);
|
|
this.btn_Refresh.TabIndex = 7;
|
|
this.btn_Refresh.Text = "刷新";
|
|
this.btn_Refresh.UseVisualStyleBackColor = true;
|
|
this.btn_Refresh.Click += new System.EventHandler(this.btn_Refresh_Click);
|
|
//
|
|
// btn_Cancel
|
|
//
|
|
this.btn_Cancel.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.btn_Cancel.Location = new System.Drawing.Point(322, 177);
|
|
this.btn_Cancel.Name = "btn_Cancel";
|
|
this.btn_Cancel.Size = new System.Drawing.Size(75, 23);
|
|
this.btn_Cancel.TabIndex = 2;
|
|
this.btn_Cancel.Text = "取消";
|
|
this.btn_Cancel.UseVisualStyleBackColor = true;
|
|
this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
|
|
//
|
|
// ConnectSelect
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(404, 207);
|
|
this.Controls.Add(this.btn_Refresh);
|
|
this.Controls.Add(this.dgv_ConnInfo);
|
|
this.Controls.Add(this.btn_Cancel);
|
|
this.Controls.Add(this.btn_Sure);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.MaximizeBox = false;
|
|
this.MaximumSize = new System.Drawing.Size(420, 246);
|
|
this.MinimizeBox = false;
|
|
this.MinimumSize = new System.Drawing.Size(420, 246);
|
|
this.Name = "ConnectSelect";
|
|
this.ShowIcon = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "连接配置";
|
|
this.Load += new System.EventHandler(this.ConnectSelect_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgv_ConnInfo)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.Button btn_Sure;
|
|
private System.Windows.Forms.DataGridView dgv_ConnInfo;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 连接代码;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 名称;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 类型;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 服务器;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 启用;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 描述;
|
|
private System.Windows.Forms.Button btn_Refresh;
|
|
private System.Windows.Forms.Button btn_Cancel;
|
|
}
|
|
} |