예제 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label7 = new System.Windows.Forms.Label();
     this.lblConnectionstring = new System.Windows.Forms.Label();
     this.txtConnectionString = new System.Windows.Forms.TextBox();
     this.txtDatabase         = new System.Windows.Forms.TextBox();
     this.lblDatabase         = new System.Windows.Forms.Label();
     this.txtPassword         = new System.Windows.Forms.TextBox();
     this.txtUserName         = new System.Windows.Forms.TextBox();
     this.txtServer           = new System.Windows.Forms.TextBox();
     this.lblPassword         = new System.Windows.Forms.Label();
     this.lblUserName         = new System.Windows.Forms.Label();
     this.lblServer           = new System.Windows.Forms.Label();
     this.btnCancel           = new System.Windows.Forms.Button();
     this.btnOK = new System.Windows.Forms.Button();
     this.rbtConnectionstring = new System.Windows.Forms.RadioButton();
     this.rbtTweak            = new System.Windows.Forms.RadioButton();
     this.label8      = new System.Windows.Forms.Label();
     this.txtMode     = new System.Windows.Forms.TextBox();
     this.Pick_DBType = new OGen.NTier.presentationlayer.winforms.UserControls.ucPick_DBType();
     this.SuspendLayout();
     //
     // label7
     //
     this.label7.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.label7.Location  = new System.Drawing.Point(8, 8);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(96, 23);
     this.label7.TabIndex  = 2;
     this.label7.Text      = "DB Type: ";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblConnectionstring
     //
     this.lblConnectionstring.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.lblConnectionstring.Location  = new System.Drawing.Point(8, 72);
     this.lblConnectionstring.Name      = "lblConnectionstring";
     this.lblConnectionstring.Size      = new System.Drawing.Size(96, 23);
     this.lblConnectionstring.TabIndex  = 6;
     this.lblConnectionstring.Text      = "Connectionstring: ";
     this.lblConnectionstring.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtConnectionString
     //
     this.txtConnectionString.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.txtConnectionString.Location = new System.Drawing.Point(104, 72);
     this.txtConnectionString.Name     = "txtConnectionString";
     this.txtConnectionString.Size     = new System.Drawing.Size(256, 20);
     this.txtConnectionString.TabIndex = 7;
     this.txtConnectionString.Text     = "";
     //
     // txtDatabase
     //
     this.txtDatabase.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.txtDatabase.Enabled  = false;
     this.txtDatabase.Location = new System.Drawing.Point(104, 208);
     this.txtDatabase.Name     = "txtDatabase";
     this.txtDatabase.Size     = new System.Drawing.Size(256, 20);
     this.txtDatabase.TabIndex = 16;
     this.txtDatabase.Text     = "";
     //
     // lblDatabase
     //
     this.lblDatabase.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.lblDatabase.Enabled   = false;
     this.lblDatabase.Location  = new System.Drawing.Point(8, 208);
     this.lblDatabase.Name      = "lblDatabase";
     this.lblDatabase.Size      = new System.Drawing.Size(96, 23);
     this.lblDatabase.TabIndex  = 15;
     this.lblDatabase.Text      = "Database: ";
     this.lblDatabase.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtPassword
     //
     this.txtPassword.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.txtPassword.Enabled      = false;
     this.txtPassword.Location     = new System.Drawing.Point(104, 184);
     this.txtPassword.Name         = "txtPassword";
     this.txtPassword.PasswordChar = '*';
     this.txtPassword.Size         = new System.Drawing.Size(256, 20);
     this.txtPassword.TabIndex     = 14;
     this.txtPassword.Text         = "";
     //
     // txtUserName
     //
     this.txtUserName.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.txtUserName.Enabled  = false;
     this.txtUserName.Location = new System.Drawing.Point(104, 160);
     this.txtUserName.Name     = "txtUserName";
     this.txtUserName.Size     = new System.Drawing.Size(256, 20);
     this.txtUserName.TabIndex = 12;
     this.txtUserName.Text     = "";
     //
     // txtServer
     //
     this.txtServer.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.txtServer.Enabled  = false;
     this.txtServer.Location = new System.Drawing.Point(104, 136);
     this.txtServer.Name     = "txtServer";
     this.txtServer.Size     = new System.Drawing.Size(256, 20);
     this.txtServer.TabIndex = 10;
     this.txtServer.Text     = "";
     //
     // lblPassword
     //
     this.lblPassword.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.lblPassword.Enabled   = false;
     this.lblPassword.Location  = new System.Drawing.Point(8, 184);
     this.lblPassword.Name      = "lblPassword";
     this.lblPassword.Size      = new System.Drawing.Size(96, 23);
     this.lblPassword.TabIndex  = 13;
     this.lblPassword.Text      = "Password: "******"lblUserName";
     this.lblUserName.Size      = new System.Drawing.Size(96, 23);
     this.lblUserName.TabIndex  = 11;
     this.lblUserName.Text      = "User Name: ";
     this.lblUserName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblServer
     //
     this.lblServer.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.lblServer.Enabled   = false;
     this.lblServer.Location  = new System.Drawing.Point(8, 136);
     this.lblServer.Name      = "lblServer";
     this.lblServer.Size      = new System.Drawing.Size(96, 23);
     this.lblServer.TabIndex  = 9;
     this.lblServer.Text      = "Server: ";
     this.lblServer.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnCancel
     //
     this.btnCancel.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.Location = new System.Drawing.Point(280, 272);
     this.btnCancel.Name     = "btnCancel";
     this.btnCancel.TabIndex = 19;
     this.btnCancel.Text     = "Cancel";
     //
     // btnOK
     //
     this.btnOK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOK.Location = new System.Drawing.Point(200, 272);
     this.btnOK.Name     = "btnOK";
     this.btnOK.TabIndex = 18;
     this.btnOK.Text     = "&OK";
     //
     // rbtConnectionstring
     //
     this.rbtConnectionstring.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.rbtConnectionstring.Checked     = true;
     this.rbtConnectionstring.Location    = new System.Drawing.Point(8, 96);
     this.rbtConnectionstring.Name        = "rbtConnectionstring";
     this.rbtConnectionstring.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.rbtConnectionstring.Size        = new System.Drawing.Size(352, 24);
     this.rbtConnectionstring.TabIndex    = 8;
     this.rbtConnectionstring.TabStop     = true;
     this.rbtConnectionstring.Text        = "Connectionstring";
     //
     // rbtTweak
     //
     this.rbtTweak.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.rbtTweak.Location    = new System.Drawing.Point(8, 232);
     this.rbtTweak.Name        = "rbtTweak";
     this.rbtTweak.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.rbtTweak.Size        = new System.Drawing.Size(352, 24);
     this.rbtTweak.TabIndex    = 17;
     this.rbtTweak.Text        = "Tweak";
     //
     // label8
     //
     this.label8.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.label8.Location  = new System.Drawing.Point(8, 32);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(96, 23);
     this.label8.TabIndex  = 4;
     this.label8.Text      = "Mode: ";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtMode
     //
     this.txtMode.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.txtMode.Location = new System.Drawing.Point(104, 32);
     this.txtMode.Name     = "txtMode";
     this.txtMode.Size     = new System.Drawing.Size(256, 20);
     this.txtMode.TabIndex = 5;
     this.txtMode.Text     = "";
     //
     // Pick_DBType
     //
     this.Pick_DBType.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.Pick_DBType.DBServerType = OGen.lib.datalayer.DBServerTypes.invalid;
     this.Pick_DBType.Location     = new System.Drawing.Point(104, 8);
     this.Pick_DBType.Name         = "Pick_DBType";
     this.Pick_DBType.Size         = new System.Drawing.Size(256, 24);
     this.Pick_DBType.TabIndex     = 3;
     //
     // frmConnectionstring
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(368, 301);
     this.Controls.Add(this.Pick_DBType);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.txtMode);
     this.Controls.Add(this.txtDatabase);
     this.Controls.Add(this.txtPassword);
     this.Controls.Add(this.txtUserName);
     this.Controls.Add(this.txtServer);
     this.Controls.Add(this.txtConnectionString);
     this.Controls.Add(this.rbtTweak);
     this.Controls.Add(this.rbtConnectionstring);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.lblDatabase);
     this.Controls.Add(this.lblPassword);
     this.Controls.Add(this.lblUserName);
     this.Controls.Add(this.lblServer);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.lblConnectionstring);
     this.MinimumSize   = new System.Drawing.Size(240, 328);
     this.Name          = "frmConnectionstring";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "DBConnection";
     this.ResumeLayout(false);
 }
예제 #2
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent() {
			this.label7 = new System.Windows.Forms.Label();
			this.lblConnectionstring = new System.Windows.Forms.Label();
			this.txtConnectionString = new System.Windows.Forms.TextBox();
			this.txtDatabase = new System.Windows.Forms.TextBox();
			this.lblDatabase = new System.Windows.Forms.Label();
			this.txtPassword = new System.Windows.Forms.TextBox();
			this.txtUserName = new System.Windows.Forms.TextBox();
			this.txtServer = new System.Windows.Forms.TextBox();
			this.lblPassword = new System.Windows.Forms.Label();
			this.lblUserName = new System.Windows.Forms.Label();
			this.lblServer = new System.Windows.Forms.Label();
			this.btnCancel = new System.Windows.Forms.Button();
			this.btnOK = new System.Windows.Forms.Button();
			this.rbtConnectionstring = new System.Windows.Forms.RadioButton();
			this.rbtTweak = new System.Windows.Forms.RadioButton();
			this.label8 = new System.Windows.Forms.Label();
			this.txtMode = new System.Windows.Forms.TextBox();
			this.Pick_DBType = new OGen.NTier.presentationlayer.winforms.UserControls.ucPick_DBType();
			this.SuspendLayout();
			// 
			// label7
			// 
			this.label7.Anchor = System.Windows.Forms.AnchorStyles.Left;
			this.label7.Location = new System.Drawing.Point(8, 8);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(96, 23);
			this.label7.TabIndex = 2;
			this.label7.Text = "DB Type: ";
			this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// lblConnectionstring
			// 
			this.lblConnectionstring.Anchor = System.Windows.Forms.AnchorStyles.Left;
			this.lblConnectionstring.Location = new System.Drawing.Point(8, 72);
			this.lblConnectionstring.Name = "lblConnectionstring";
			this.lblConnectionstring.Size = new System.Drawing.Size(96, 23);
			this.lblConnectionstring.TabIndex = 6;
			this.lblConnectionstring.Text = "Connectionstring: ";
			this.lblConnectionstring.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// txtConnectionString
			// 
			this.txtConnectionString.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
			this.txtConnectionString.Location = new System.Drawing.Point(104, 72);
			this.txtConnectionString.Name = "txtConnectionString";
			this.txtConnectionString.Size = new System.Drawing.Size(256, 20);
			this.txtConnectionString.TabIndex = 7;
			this.txtConnectionString.Text = "";
			// 
			// txtDatabase
			// 
			this.txtDatabase.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
			this.txtDatabase.Enabled = false;
			this.txtDatabase.Location = new System.Drawing.Point(104, 208);
			this.txtDatabase.Name = "txtDatabase";
			this.txtDatabase.Size = new System.Drawing.Size(256, 20);
			this.txtDatabase.TabIndex = 16;
			this.txtDatabase.Text = "";
			// 
			// lblDatabase
			// 
			this.lblDatabase.Anchor = System.Windows.Forms.AnchorStyles.Left;
			this.lblDatabase.Enabled = false;
			this.lblDatabase.Location = new System.Drawing.Point(8, 208);
			this.lblDatabase.Name = "lblDatabase";
			this.lblDatabase.Size = new System.Drawing.Size(96, 23);
			this.lblDatabase.TabIndex = 15;
			this.lblDatabase.Text = "Database: ";
			this.lblDatabase.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// txtPassword
			// 
			this.txtPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
			this.txtPassword.Enabled = false;
			this.txtPassword.Location = new System.Drawing.Point(104, 184);
			this.txtPassword.Name = "txtPassword";
			this.txtPassword.PasswordChar = '*';
			this.txtPassword.Size = new System.Drawing.Size(256, 20);
			this.txtPassword.TabIndex = 14;
			this.txtPassword.Text = "";
			// 
			// txtUserName
			// 
			this.txtUserName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
			this.txtUserName.Enabled = false;
			this.txtUserName.Location = new System.Drawing.Point(104, 160);
			this.txtUserName.Name = "txtUserName";
			this.txtUserName.Size = new System.Drawing.Size(256, 20);
			this.txtUserName.TabIndex = 12;
			this.txtUserName.Text = "";
			// 
			// txtServer
			// 
			this.txtServer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
			this.txtServer.Enabled = false;
			this.txtServer.Location = new System.Drawing.Point(104, 136);
			this.txtServer.Name = "txtServer";
			this.txtServer.Size = new System.Drawing.Size(256, 20);
			this.txtServer.TabIndex = 10;
			this.txtServer.Text = "";
			// 
			// lblPassword
			// 
			this.lblPassword.Anchor = System.Windows.Forms.AnchorStyles.Left;
			this.lblPassword.Enabled = false;
			this.lblPassword.Location = new System.Drawing.Point(8, 184);
			this.lblPassword.Name = "lblPassword";
			this.lblPassword.Size = new System.Drawing.Size(96, 23);
			this.lblPassword.TabIndex = 13;
			this.lblPassword.Text = "Password: "******"lblUserName";
			this.lblUserName.Size = new System.Drawing.Size(96, 23);
			this.lblUserName.TabIndex = 11;
			this.lblUserName.Text = "User Name: ";
			this.lblUserName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// lblServer
			// 
			this.lblServer.Anchor = System.Windows.Forms.AnchorStyles.Left;
			this.lblServer.Enabled = false;
			this.lblServer.Location = new System.Drawing.Point(8, 136);
			this.lblServer.Name = "lblServer";
			this.lblServer.Size = new System.Drawing.Size(96, 23);
			this.lblServer.TabIndex = 9;
			this.lblServer.Text = "Server: ";
			this.lblServer.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// btnCancel
			// 
			this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnCancel.Location = new System.Drawing.Point(280, 272);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.TabIndex = 19;
			this.btnCancel.Text = "Cancel";
			// 
			// btnOK
			// 
			this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnOK.Location = new System.Drawing.Point(200, 272);
			this.btnOK.Name = "btnOK";
			this.btnOK.TabIndex = 18;
			this.btnOK.Text = "&OK";
			// 
			// rbtConnectionstring
			// 
			this.rbtConnectionstring.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
			this.rbtConnectionstring.Checked = true;
			this.rbtConnectionstring.Location = new System.Drawing.Point(8, 96);
			this.rbtConnectionstring.Name = "rbtConnectionstring";
			this.rbtConnectionstring.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
			this.rbtConnectionstring.Size = new System.Drawing.Size(352, 24);
			this.rbtConnectionstring.TabIndex = 8;
			this.rbtConnectionstring.TabStop = true;
			this.rbtConnectionstring.Text = "Connectionstring";
			// 
			// rbtTweak
			// 
			this.rbtTweak.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
			this.rbtTweak.Location = new System.Drawing.Point(8, 232);
			this.rbtTweak.Name = "rbtTweak";
			this.rbtTweak.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
			this.rbtTweak.Size = new System.Drawing.Size(352, 24);
			this.rbtTweak.TabIndex = 17;
			this.rbtTweak.Text = "Tweak";
			// 
			// label8
			// 
			this.label8.Anchor = System.Windows.Forms.AnchorStyles.Left;
			this.label8.Location = new System.Drawing.Point(8, 32);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(96, 23);
			this.label8.TabIndex = 4;
			this.label8.Text = "Mode: ";
			this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// txtMode
			// 
			this.txtMode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
			this.txtMode.Location = new System.Drawing.Point(104, 32);
			this.txtMode.Name = "txtMode";
			this.txtMode.Size = new System.Drawing.Size(256, 20);
			this.txtMode.TabIndex = 5;
			this.txtMode.Text = "";
			// 
			// Pick_DBType
			// 
			this.Pick_DBType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
			this.Pick_DBType.DBServerType = OGen.lib.datalayer.DBServerTypes.invalid;
			this.Pick_DBType.Location = new System.Drawing.Point(104, 8);
			this.Pick_DBType.Name = "Pick_DBType";
			this.Pick_DBType.Size = new System.Drawing.Size(256, 24);
			this.Pick_DBType.TabIndex = 3;
			// 
			// frmConnectionstring
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(368, 301);
			this.Controls.Add(this.Pick_DBType);
			this.Controls.Add(this.label8);
			this.Controls.Add(this.txtMode);
			this.Controls.Add(this.txtDatabase);
			this.Controls.Add(this.txtPassword);
			this.Controls.Add(this.txtUserName);
			this.Controls.Add(this.txtServer);
			this.Controls.Add(this.txtConnectionString);
			this.Controls.Add(this.rbtTweak);
			this.Controls.Add(this.rbtConnectionstring);
			this.Controls.Add(this.btnCancel);
			this.Controls.Add(this.btnOK);
			this.Controls.Add(this.lblDatabase);
			this.Controls.Add(this.lblPassword);
			this.Controls.Add(this.lblUserName);
			this.Controls.Add(this.lblServer);
			this.Controls.Add(this.label7);
			this.Controls.Add(this.lblConnectionstring);
			this.MinimumSize = new System.Drawing.Size(240, 328);
			this.Name = "frmConnectionstring";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "DBConnection";
			this.ResumeLayout(false);

		}