Click here to Skip to main content
15,891,136 members
Articles / Desktop Programming / Windows Forms

UDL.Net, A ConnectionString Editor Built from Scratch

Rate me:
Please Sign up or sign in to vote.
4.80/5 (23 votes)
24 Feb 2010CPOL5 min read 50.2K   2.8K   54  
UDL.Net is a ConnectionString editor built from scratch, modeled after the Universal Data Link (UDL) and the Visual Studio DataConnectionDialog.

namespace UDL.Editors
{
    partial class OracleEditor
	{
		/// <summary>
		/// Designer variable used to keep track of non-visual components.
		/// </summary>
		private System.ComponentModel.IContainer components = null;
		
		/// <summary>
		/// Disposes resources used by the control.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing) {
				if (components != null) {
					components.Dispose();
				}
			}
			base.Dispose(disposing);
		}
		
		/// <summary>
		/// This method is required for Windows Forms designer support.
		/// Do not change the method contents inside the source code editor. The Forms designer might
		/// not be able to load this method if it was changed manually.
		/// </summary>
		private void InitializeComponent()
		{
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.txDataSource = new System.Windows.Forms.TextBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.ckUseNamePassword = new System.Windows.Forms.RadioButton();
            this.ckUseIntegratedSecurity = new System.Windows.Forms.RadioButton();
            this.label4 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.txUserID = new System.Windows.Forms.TextBox();
            this.txPassword = new System.Windows.Forms.TextBox();
            this.ckPersistSecurity = new System.Windows.Forms.CheckBox();
            this.label1 = new System.Windows.Forms.Label();
            this.groupBox3.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // groupBox3
            // 
            this.groupBox3.Controls.Add(this.label1);
            this.groupBox3.Controls.Add(this.txDataSource);
            this.groupBox3.Location = new System.Drawing.Point(3, 3);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(300, 65);
            this.groupBox3.TabIndex = 1;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "1.- Oracle datasource";
            // 
            // txDataSource
            // 
            this.txDataSource.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txDataSource.Location = new System.Drawing.Point(10, 33);
            this.txDataSource.Name = "txDataSource";
            this.txDataSource.Size = new System.Drawing.Size(267, 20);
            this.txDataSource.TabIndex = 3;
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.ckUseNamePassword);
            this.groupBox1.Controls.Add(this.ckUseIntegratedSecurity);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.txUserID);
            this.groupBox1.Controls.Add(this.txPassword);
            this.groupBox1.Controls.Add(this.ckPersistSecurity);
            this.groupBox1.Location = new System.Drawing.Point(3, 73);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(300, 125);
            this.groupBox1.TabIndex = 2;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "2.- Log In information";
            // 
            // ckUseNamePassword
            // 
            this.ckUseNamePassword.AutoSize = true;
            this.ckUseNamePassword.Checked = true;
            this.ckUseNamePassword.Location = new System.Drawing.Point(155, 23);
            this.ckUseNamePassword.Name = "ckUseNamePassword";
            this.ckUseNamePassword.Size = new System.Drawing.Size(122, 17);
            this.ckUseNamePassword.TabIndex = 6;
            this.ckUseNamePassword.TabStop = true;
            this.ckUseNamePassword.Text = "Name and password";
            this.ckUseNamePassword.UseVisualStyleBackColor = true;
            // 
            // ckUseIntegratedSecurity
            // 
            this.ckUseIntegratedSecurity.AutoSize = true;
            this.ckUseIntegratedSecurity.Location = new System.Drawing.Point(10, 23);
            this.ckUseIntegratedSecurity.Name = "ckUseIntegratedSecurity";
            this.ckUseIntegratedSecurity.Size = new System.Drawing.Size(112, 17);
            this.ckUseIntegratedSecurity.TabIndex = 5;
            this.ckUseIntegratedSecurity.Text = "Integrated security";
            this.ckUseIntegratedSecurity.UseVisualStyleBackColor = true;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(22, 79);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(56, 13);
            this.label4.TabIndex = 2;
            this.label4.Text = "Password:";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(22, 54);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(46, 13);
            this.label3.TabIndex = 0;
            this.label3.Text = "User ID:";
            // 
            // txUserID
            // 
            this.txUserID.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txUserID.Location = new System.Drawing.Point(92, 51);
            this.txUserID.Name = "txUserID";
            this.txUserID.Size = new System.Drawing.Size(185, 20);
            this.txUserID.TabIndex = 1;
            // 
            // txPassword
            // 
            this.txPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txPassword.Location = new System.Drawing.Point(92, 76);
            this.txPassword.Name = "txPassword";
            this.txPassword.PasswordChar = '*';
            this.txPassword.Size = new System.Drawing.Size(185, 20);
            this.txPassword.TabIndex = 3;
            // 
            // ckPersistSecurity
            // 
            this.ckPersistSecurity.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.ckPersistSecurity.AutoSize = true;
            this.ckPersistSecurity.Location = new System.Drawing.Point(112, 101);
            this.ckPersistSecurity.Name = "ckPersistSecurity";
            this.ckPersistSecurity.Size = new System.Drawing.Size(116, 17);
            this.ckPersistSecurity.TabIndex = 4;
            this.ckPersistSecurity.Text = "Persist security info";
            this.ckPersistSecurity.UseVisualStyleBackColor = true;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(7, 17);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(70, 13);
            this.label1.TabIndex = 4;
            this.label1.Text = "Server name:";
            // 
            // OracleEditor
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoSize = true;
            this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.Controls.Add(this.groupBox3);
            this.Controls.Add(this.groupBox1);
            this.Name = "OracleEditor";
            this.Size = new System.Drawing.Size(306, 201);
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);

        }
		private System.Windows.Forms.TextBox txPassword;
		private System.Windows.Forms.TextBox txUserID;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label4;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.GroupBox groupBox3;
        private System.Windows.Forms.TextBox txDataSource;
        private System.Windows.Forms.CheckBox ckPersistSecurity;
        private System.Windows.Forms.RadioButton ckUseNamePassword;
        private System.Windows.Forms.RadioButton ckUseIntegratedSecurity;
        private System.Windows.Forms.Label label1;
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Other
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions