You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
188 lines
8.3 KiB
188 lines
8.3 KiB
namespace QMAPP.WinForm
|
|
{
|
|
partial class ServerSwitch
|
|
{
|
|
/// <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.cbServer = new System.Windows.Forms.ComboBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.txtWCFUrl = new System.Windows.Forms.TextBox();
|
|
this.txtOPCUrl = new System.Windows.Forms.TextBox();
|
|
this.cbChangeWCF = new System.Windows.Forms.CheckBox();
|
|
this.cbChangeOPC = new System.Windows.Forms.CheckBox();
|
|
this.btnSwitchSave = new System.Windows.Forms.Button();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.SuspendLayout();
|
|
//
|
|
// cbServer
|
|
//
|
|
this.cbServer.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbServer.FormattingEnabled = true;
|
|
this.cbServer.Location = new System.Drawing.Point(182, 170);
|
|
this.cbServer.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7);
|
|
this.cbServer.Name = "cbServer";
|
|
this.cbServer.Size = new System.Drawing.Size(313, 36);
|
|
this.cbServer.TabIndex = 0;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(42, 173);
|
|
this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(123, 30);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "选择服务器";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(37, 27);
|
|
this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(128, 30);
|
|
this.label2.TabIndex = 2;
|
|
this.label2.Text = "WCF服务器";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(40, 100);
|
|
this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(125, 30);
|
|
this.label3.TabIndex = 3;
|
|
this.label3.Text = "OPC服务器";
|
|
//
|
|
// txtWCFUrl
|
|
//
|
|
this.txtWCFUrl.Location = new System.Drawing.Point(182, 24);
|
|
this.txtWCFUrl.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7);
|
|
this.txtWCFUrl.Name = "txtWCFUrl";
|
|
this.txtWCFUrl.ReadOnly = true;
|
|
this.txtWCFUrl.Size = new System.Drawing.Size(187, 36);
|
|
this.txtWCFUrl.TabIndex = 4;
|
|
//
|
|
// txtOPCUrl
|
|
//
|
|
this.txtOPCUrl.Location = new System.Drawing.Point(182, 97);
|
|
this.txtOPCUrl.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7);
|
|
this.txtOPCUrl.Name = "txtOPCUrl";
|
|
this.txtOPCUrl.ReadOnly = true;
|
|
this.txtOPCUrl.Size = new System.Drawing.Size(187, 36);
|
|
this.txtOPCUrl.TabIndex = 5;
|
|
//
|
|
// cbChangeWCF
|
|
//
|
|
this.cbChangeWCF.AutoSize = true;
|
|
this.cbChangeWCF.Checked = true;
|
|
this.cbChangeWCF.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.cbChangeWCF.Location = new System.Drawing.Point(388, 27);
|
|
this.cbChangeWCF.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7);
|
|
this.cbChangeWCF.Name = "cbChangeWCF";
|
|
this.cbChangeWCF.Size = new System.Drawing.Size(125, 34);
|
|
this.cbChangeWCF.TabIndex = 6;
|
|
this.cbChangeWCF.Text = "切换WCF";
|
|
this.cbChangeWCF.UseVisualStyleBackColor = true;
|
|
//
|
|
// cbChangeOPC
|
|
//
|
|
this.cbChangeOPC.AutoSize = true;
|
|
this.cbChangeOPC.Location = new System.Drawing.Point(388, 100);
|
|
this.cbChangeOPC.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7);
|
|
this.cbChangeOPC.Name = "cbChangeOPC";
|
|
this.cbChangeOPC.Size = new System.Drawing.Size(122, 34);
|
|
this.cbChangeOPC.TabIndex = 7;
|
|
this.cbChangeOPC.Text = "切换OPC";
|
|
this.cbChangeOPC.UseVisualStyleBackColor = true;
|
|
//
|
|
// btnSwitchSave
|
|
//
|
|
this.btnSwitchSave.Location = new System.Drawing.Point(346, 240);
|
|
this.btnSwitchSave.Name = "btnSwitchSave";
|
|
this.btnSwitchSave.Size = new System.Drawing.Size(149, 45);
|
|
this.btnSwitchSave.TabIndex = 9;
|
|
this.btnSwitchSave.Text = "切换并保存";
|
|
this.btnSwitchSave.UseVisualStyleBackColor = true;
|
|
this.btnSwitchSave.Click += new System.EventHandler(this.btnSwitchSave_Click);
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.Location = new System.Drawing.Point(203, 240);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(126, 45);
|
|
this.btnCancel.TabIndex = 10;
|
|
this.btnCancel.Text = "取消";
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// ServerSwitch
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(13F, 28F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(543, 302);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.btnSwitchSave);
|
|
this.Controls.Add(this.cbChangeOPC);
|
|
this.Controls.Add(this.cbChangeWCF);
|
|
this.Controls.Add(this.txtOPCUrl);
|
|
this.Controls.Add(this.txtWCFUrl);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.cbServer);
|
|
this.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "ServerSwitch";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "服务切换";
|
|
this.Load += new System.EventHandler(this.ServerSwitch_Load);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ComboBox cbServer;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox txtWCFUrl;
|
|
private System.Windows.Forms.TextBox txtOPCUrl;
|
|
private System.Windows.Forms.CheckBox cbChangeWCF;
|
|
private System.Windows.Forms.CheckBox cbChangeOPC;
|
|
private System.Windows.Forms.Button btnSwitchSave;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
}
|
|
}
|