217 lines
9.9 KiB
C#
217 lines
9.9 KiB
C#
namespace Lskj.Main
|
|
{
|
|
partial class FrmConfig
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmConfig));
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.radioOutside = new System.Windows.Forms.RadioButton();
|
|
this.radioWithin = new System.Windows.Forms.RadioButton();
|
|
this.txtServerNameInternal = new System.Windows.Forms.TextBox();
|
|
this.txtDBName = new System.Windows.Forms.TextBox();
|
|
this.txtServerName = new System.Windows.Forms.TextBox();
|
|
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.btnConnect = new DevExpress.XtraEditors.SimpleButton();
|
|
this.btnSave = new DevExpress.XtraEditors.SimpleButton();
|
|
this.btnExit = new DevExpress.XtraEditors.SimpleButton();
|
|
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
|
|
this.serverType = new System.Windows.Forms.ComboBox();
|
|
this.groupBox1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.serverType);
|
|
this.groupBox1.Controls.Add(this.labelControl1);
|
|
this.groupBox1.Controls.Add(this.radioOutside);
|
|
this.groupBox1.Controls.Add(this.radioWithin);
|
|
this.groupBox1.Controls.Add(this.txtServerNameInternal);
|
|
this.groupBox1.Controls.Add(this.txtDBName);
|
|
this.groupBox1.Controls.Add(this.txtServerName);
|
|
this.groupBox1.Controls.Add(this.labelControl2);
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
this.groupBox1.Location = new System.Drawing.Point(13, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(260, 135);
|
|
this.groupBox1.TabIndex = 4;
|
|
this.groupBox1.TabStop = false;
|
|
//
|
|
// radioOutside
|
|
//
|
|
this.radioOutside.AutoSize = true;
|
|
this.radioOutside.Location = new System.Drawing.Point(6, 49);
|
|
this.radioOutside.Name = "radioOutside";
|
|
this.radioOutside.Size = new System.Drawing.Size(73, 18);
|
|
this.radioOutside.TabIndex = 12;
|
|
this.radioOutside.TabStop = true;
|
|
this.radioOutside.Text = "外网地址";
|
|
this.radioOutside.UseVisualStyleBackColor = true;
|
|
//
|
|
// radioWithin
|
|
//
|
|
this.radioWithin.AutoSize = true;
|
|
this.radioWithin.Location = new System.Drawing.Point(6, 77);
|
|
this.radioWithin.Name = "radioWithin";
|
|
this.radioWithin.Size = new System.Drawing.Size(73, 18);
|
|
this.radioWithin.TabIndex = 11;
|
|
this.radioWithin.TabStop = true;
|
|
this.radioWithin.Text = "内网地址";
|
|
this.radioWithin.UseVisualStyleBackColor = true;
|
|
//
|
|
// txtServerNameInternal
|
|
//
|
|
this.txtServerNameInternal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.txtServerNameInternal.Location = new System.Drawing.Point(85, 73);
|
|
this.txtServerNameInternal.MaxLength = 50;
|
|
this.txtServerNameInternal.Name = "txtServerNameInternal";
|
|
this.txtServerNameInternal.Size = new System.Drawing.Size(162, 22);
|
|
this.txtServerNameInternal.TabIndex = 9;
|
|
//
|
|
// txtDBName
|
|
//
|
|
this.txtDBName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.txtDBName.Location = new System.Drawing.Point(85, 101);
|
|
this.txtDBName.MaxLength = 50;
|
|
this.txtDBName.Name = "txtDBName";
|
|
this.txtDBName.Size = new System.Drawing.Size(162, 22);
|
|
this.txtDBName.TabIndex = 7;
|
|
//
|
|
// txtServerName
|
|
//
|
|
this.txtServerName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.txtServerName.Location = new System.Drawing.Point(85, 46);
|
|
this.txtServerName.MaxLength = 50;
|
|
this.txtServerName.Name = "txtServerName";
|
|
this.txtServerName.Size = new System.Drawing.Size(162, 22);
|
|
this.txtServerName.TabIndex = 6;
|
|
//
|
|
// labelControl2
|
|
//
|
|
this.labelControl2.Location = new System.Drawing.Point(12, 105);
|
|
this.labelControl2.Name = "labelControl2";
|
|
this.labelControl2.Size = new System.Drawing.Size(60, 14);
|
|
this.labelControl2.TabIndex = 5;
|
|
this.labelControl2.Text = "数据库名称";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(7, 20);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(0, 14);
|
|
this.label1.TabIndex = 0;
|
|
//
|
|
// btnConnect
|
|
//
|
|
this.btnConnect.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btnConnect.Location = new System.Drawing.Point(23, 153);
|
|
this.btnConnect.Name = "btnConnect";
|
|
this.btnConnect.Size = new System.Drawing.Size(62, 23);
|
|
this.btnConnect.TabIndex = 8;
|
|
this.btnConnect.Text = "测试连接";
|
|
this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btnSave.Location = new System.Drawing.Point(108, 153);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(62, 23);
|
|
this.btnSave.TabIndex = 9;
|
|
this.btnSave.Text = "保存配置";
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// btnExit
|
|
//
|
|
this.btnExit.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btnExit.Location = new System.Drawing.Point(191, 153);
|
|
this.btnExit.Name = "btnExit";
|
|
this.btnExit.Size = new System.Drawing.Size(62, 23);
|
|
this.btnExit.TabIndex = 10;
|
|
this.btnExit.Text = "退出";
|
|
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
|
|
//
|
|
// labelControl1
|
|
//
|
|
this.labelControl1.Location = new System.Drawing.Point(12, 22);
|
|
this.labelControl1.Name = "labelControl1";
|
|
this.labelControl1.Size = new System.Drawing.Size(60, 14);
|
|
this.labelControl1.TabIndex = 13;
|
|
this.labelControl1.Text = "数据库类型";
|
|
//
|
|
// serverType
|
|
//
|
|
this.serverType.FormattingEnabled = true;
|
|
this.serverType.Location = new System.Drawing.Point(85, 19);
|
|
this.serverType.Name = "serverType";
|
|
this.serverType.Size = new System.Drawing.Size(162, 22);
|
|
this.serverType.TabIndex = 14;
|
|
//
|
|
// FrmConfig
|
|
//
|
|
this.Appearance.BackColor = System.Drawing.SystemColors.Control;
|
|
this.Appearance.Options.UseBackColor = true;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(285, 190);
|
|
this.Controls.Add(this.btnExit);
|
|
this.Controls.Add(this.btnSave);
|
|
this.Controls.Add(this.btnConnect);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "FrmConfig";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "数据库连接配置";
|
|
this.Load += new System.EventHandler(this.FrmConfig_Load);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Label label1;
|
|
private DevExpress.XtraEditors.LabelControl labelControl2;
|
|
private DevExpress.XtraEditors.SimpleButton btnConnect;
|
|
private System.Windows.Forms.TextBox txtDBName;
|
|
private System.Windows.Forms.TextBox txtServerName;
|
|
private DevExpress.XtraEditors.SimpleButton btnSave;
|
|
private DevExpress.XtraEditors.SimpleButton btnExit;
|
|
private System.Windows.Forms.TextBox txtServerNameInternal;
|
|
private System.Windows.Forms.RadioButton radioOutside;
|
|
private System.Windows.Forms.RadioButton radioWithin;
|
|
private System.Windows.Forms.ComboBox serverType;
|
|
private DevExpress.XtraEditors.LabelControl labelControl1;
|
|
}
|
|
} |