You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
251 lines
11 KiB
C#
251 lines
11 KiB
C#
namespace Mesnac.Gui.Edit.Dialog
|
|
{
|
|
partial class FrmNewDataSource
|
|
{
|
|
/// <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.cmbDataDrivers = new System.Windows.Forms.ComboBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.btnTestConnect = new System.Windows.Forms.Button();
|
|
this.btnOk = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.txtDataSourceName = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.txtServer = new System.Windows.Forms.TextBox();
|
|
this.txtUserName = new System.Windows.Forms.TextBox();
|
|
this.txtPassword = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.cmbDataBase = new System.Windows.Forms.ComboBox();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.txtConnectionTimeout = new System.Windows.Forms.TextBox();
|
|
this.SuspendLayout();
|
|
//
|
|
// cmbDataDrivers
|
|
//
|
|
this.cmbDataDrivers.FormattingEnabled = true;
|
|
this.cmbDataDrivers.Location = new System.Drawing.Point(108, 38);
|
|
this.cmbDataDrivers.Name = "cmbDataDrivers";
|
|
this.cmbDataDrivers.Size = new System.Drawing.Size(273, 20);
|
|
this.cmbDataDrivers.TabIndex = 0;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(24, 43);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(65, 12);
|
|
this.label2.TabIndex = 1;
|
|
this.label2.Text = "数据库驱动";
|
|
//
|
|
// btnTestConnect
|
|
//
|
|
this.btnTestConnect.Location = new System.Drawing.Point(293, 114);
|
|
this.btnTestConnect.Name = "btnTestConnect";
|
|
this.btnTestConnect.Size = new System.Drawing.Size(88, 23);
|
|
this.btnTestConnect.TabIndex = 4;
|
|
this.btnTestConnect.Text = "测试连接(&T)";
|
|
this.btnTestConnect.UseVisualStyleBackColor = true;
|
|
this.btnTestConnect.Click += new System.EventHandler(this.btnTestConnect_Click);
|
|
//
|
|
// btnOk
|
|
//
|
|
this.btnOk.Location = new System.Drawing.Point(225, 199);
|
|
this.btnOk.Name = "btnOk";
|
|
this.btnOk.Size = new System.Drawing.Size(75, 23);
|
|
this.btnOk.TabIndex = 5;
|
|
this.btnOk.Text = "确定(&O)";
|
|
this.btnOk.UseVisualStyleBackColor = true;
|
|
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(24, 17);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(65, 12);
|
|
this.label1.TabIndex = 6;
|
|
this.label1.Text = "数据源名称";
|
|
//
|
|
// txtDataSourceName
|
|
//
|
|
this.txtDataSourceName.Location = new System.Drawing.Point(108, 12);
|
|
this.txtDataSourceName.Name = "txtDataSourceName";
|
|
this.txtDataSourceName.Size = new System.Drawing.Size(273, 21);
|
|
this.txtDataSourceName.TabIndex = 7;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(24, 68);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(41, 12);
|
|
this.label3.TabIndex = 8;
|
|
this.label3.Text = "服务器";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(24, 94);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(41, 12);
|
|
this.label4.TabIndex = 9;
|
|
this.label4.Text = "用户名";
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(24, 120);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(29, 12);
|
|
this.label5.TabIndex = 10;
|
|
this.label5.Text = "密码";
|
|
//
|
|
// txtServer
|
|
//
|
|
this.txtServer.Location = new System.Drawing.Point(108, 63);
|
|
this.txtServer.Name = "txtServer";
|
|
this.txtServer.Size = new System.Drawing.Size(273, 21);
|
|
this.txtServer.TabIndex = 11;
|
|
//
|
|
// txtUserName
|
|
//
|
|
this.txtUserName.Location = new System.Drawing.Point(108, 89);
|
|
this.txtUserName.Name = "txtUserName";
|
|
this.txtUserName.Size = new System.Drawing.Size(273, 21);
|
|
this.txtUserName.TabIndex = 12;
|
|
//
|
|
// txtPassword
|
|
//
|
|
this.txtPassword.Location = new System.Drawing.Point(108, 115);
|
|
this.txtPassword.Name = "txtPassword";
|
|
this.txtPassword.Size = new System.Drawing.Size(179, 21);
|
|
this.txtPassword.TabIndex = 13;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(24, 146);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(41, 12);
|
|
this.label6.TabIndex = 14;
|
|
this.label6.Text = "数据库";
|
|
//
|
|
// cmbDataBase
|
|
//
|
|
this.cmbDataBase.FormattingEnabled = true;
|
|
this.cmbDataBase.Location = new System.Drawing.Point(108, 141);
|
|
this.cmbDataBase.Name = "cmbDataBase";
|
|
this.cmbDataBase.Size = new System.Drawing.Size(273, 20);
|
|
this.cmbDataBase.TabIndex = 15;
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.Location = new System.Drawing.Point(307, 199);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.btnCancel.TabIndex = 16;
|
|
this.btnCancel.Text = "取消(&C)";
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(24, 172);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(53, 12);
|
|
this.label7.TabIndex = 17;
|
|
this.label7.Text = "连接超时";
|
|
//
|
|
// txtConnectionTimeout
|
|
//
|
|
this.txtConnectionTimeout.Location = new System.Drawing.Point(108, 167);
|
|
this.txtConnectionTimeout.Name = "txtConnectionTimeout";
|
|
this.txtConnectionTimeout.Size = new System.Drawing.Size(273, 21);
|
|
this.txtConnectionTimeout.TabIndex = 18;
|
|
this.txtConnectionTimeout.Text = "5";
|
|
//
|
|
// FrmNewDataSource
|
|
//
|
|
this.AcceptButton = this.btnOk;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.btnCancel;
|
|
this.ClientSize = new System.Drawing.Size(402, 231);
|
|
this.Controls.Add(this.txtConnectionTimeout);
|
|
this.Controls.Add(this.label7);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.cmbDataBase);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.txtPassword);
|
|
this.Controls.Add(this.txtUserName);
|
|
this.Controls.Add(this.txtServer);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.txtDataSourceName);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.btnOk);
|
|
this.Controls.Add(this.btnTestConnect);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.cmbDataDrivers);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "FrmNewDataSource";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "数据源向导";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ComboBox cmbDataDrivers;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Button btnTestConnect;
|
|
private System.Windows.Forms.Button btnOk;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox txtDataSourceName;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox txtServer;
|
|
private System.Windows.Forms.TextBox txtUserName;
|
|
private System.Windows.Forms.TextBox txtPassword;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.ComboBox cmbDataBase;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.TextBox txtConnectionTimeout;
|
|
}
|
|
} |