Exemplo n.º 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.testConnection   = new System.Windows.Forms.Button();
     this.cboDatabase      = new System.Windows.Forms.ComboBox();
     this.checkBoxBlankPwd = new System.Windows.Forms.CheckBox();
     this.label4           = new System.Windows.Forms.Label();
     this.password         = new ConnectionBuilder.DklTextBox();
     this.userName         = new ConnectionBuilder.DklTextBox();
     this.label3           = new System.Windows.Forms.Label();
     this.label2           = new System.Windows.Forms.Label();
     this.optUsrAndPwd     = new System.Windows.Forms.RadioButton();
     this.optWndIntegrated = new System.Windows.Forms.RadioButton();
     this.label1           = new System.Windows.Forms.Label();
     this.cboServers       = new System.Windows.Forms.ComboBox();
     this.panel1           = new System.Windows.Forms.Panel();
     this.label5           = new System.Windows.Forms.Label();
     this.newDatabase      = new System.Windows.Forms.LinkLabel();
     this.connectionTest   = new System.Data.OleDb.OleDbConnection();
     this.OK     = new System.Windows.Forms.Button();
     this.Cancel = new System.Windows.Forms.Button();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // testConnection
     //
     this.testConnection.Location = new System.Drawing.Point(176, 256);
     this.testConnection.Name     = "testConnection";
     this.testConnection.Size     = new System.Drawing.Size(104, 24);
     this.testConnection.TabIndex = 14;
     this.testConnection.Text     = "&Test Connection";
     this.testConnection.Click   += new System.EventHandler(this.testConnection_Click);
     //
     // cboDatabase
     //
     this.cboDatabase.Location  = new System.Drawing.Point(8, 224);
     this.cboDatabase.Name      = "cboDatabase";
     this.cboDatabase.Size      = new System.Drawing.Size(192, 21);
     this.cboDatabase.TabIndex  = 12;
     this.cboDatabase.DropDown += new System.EventHandler(this.cboDatabase_DropDown);
     //
     // checkBoxBlankPwd
     //
     this.checkBoxBlankPwd.Enabled         = false;
     this.checkBoxBlankPwd.Location        = new System.Drawing.Point(8, 104);
     this.checkBoxBlankPwd.Name            = "checkBoxBlankPwd";
     this.checkBoxBlankPwd.Size            = new System.Drawing.Size(104, 16);
     this.checkBoxBlankPwd.TabIndex        = 10;
     this.checkBoxBlankPwd.Text            = "&Blank password";
     this.checkBoxBlankPwd.CheckedChanged += new System.EventHandler(this.checkBoxBlankPwd_CheckedChanged_1);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 56);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(240, 16);
     this.label4.TabIndex = 3;
     this.label4.Text     = "2. &Enter information to log on to the server:";
     //
     // password
     //
     this.password.Enabled      = false;
     this.password.Location     = new System.Drawing.Point(88, 80);
     this.password.Name         = "password";
     this.password.PasswordChar = '*';
     this.password.Size         = new System.Drawing.Size(120, 20);
     this.password.TabIndex     = 9;
     //
     // userName
     //
     this.userName.Enabled  = false;
     this.userName.Location = new System.Drawing.Point(88, 56);
     this.userName.Name     = "userName";
     this.userName.Size     = new System.Drawing.Size(120, 20);
     this.userName.TabIndex = 7;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 80);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(64, 24);
     this.label3.TabIndex = 8;
     this.label3.Text     = "&Password:"******"label2";
     this.label2.Size     = new System.Drawing.Size(80, 24);
     this.label2.TabIndex = 6;
     this.label2.Text     = "&User name:";
     //
     // optUsrAndPwd
     //
     this.optUsrAndPwd.Location        = new System.Drawing.Point(8, 24);
     this.optUsrAndPwd.Name            = "optUsrAndPwd";
     this.optUsrAndPwd.Size            = new System.Drawing.Size(240, 32);
     this.optUsrAndPwd.TabIndex        = 5;
     this.optUsrAndPwd.Text            = "&Use a specific user name and password:"******"optWndIntegrated";
     this.optWndIntegrated.Size            = new System.Drawing.Size(208, 16);
     this.optWndIntegrated.TabIndex        = 4;
     this.optWndIntegrated.TabStop         = true;
     this.optWndIntegrated.Text            = "Use &Windows NT Integrated security";
     this.optWndIntegrated.CheckedChanged += new System.EventHandler(this.optWndIntegrated_CheckedChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(184, 16);
     this.label1.TabIndex = 1;
     this.label1.Text     = "1. &Select or enter a SQL Server:";
     //
     // cboServers
     //
     this.cboServers.Location              = new System.Drawing.Point(8, 24);
     this.cboServers.Name                  = "cboServers";
     this.cboServers.Size                  = new System.Drawing.Size(270, 21);
     this.cboServers.TabIndex              = 2;
     this.cboServers.SelectedIndexChanged += new System.EventHandler(this.cboServers_SelectedIndexChanged_1);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.optWndIntegrated);
     this.panel1.Controls.Add(this.optUsrAndPwd);
     this.panel1.Controls.Add(this.password);
     this.panel1.Controls.Add(this.userName);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.checkBoxBlankPwd);
     this.panel1.Location = new System.Drawing.Point(8, 72);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(272, 128);
     this.panel1.TabIndex = 4;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(8, 208);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(200, 16);
     this.label5.TabIndex = 11;
     this.label5.Text     = "3. Select &database on the server";
     //
     // newDatabase
     //
     this.newDatabase.Location     = new System.Drawing.Point(200, 224);
     this.newDatabase.Name         = "newDatabase";
     this.newDatabase.Size         = new System.Drawing.Size(80, 24);
     this.newDatabase.TabIndex     = 13;
     this.newDatabase.TabStop      = true;
     this.newDatabase.Text         = "New database";
     this.newDatabase.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     this.newDatabase.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.newDatabase_LinkClicked);
     //
     // OK
     //
     this.OK.Location = new System.Drawing.Point(56, 296);
     this.OK.Name     = "OK";
     this.OK.Size     = new System.Drawing.Size(104, 24);
     this.OK.TabIndex = 15;
     this.OK.Text     = "OK";
     this.OK.Click   += new System.EventHandler(this.OK_Click);
     //
     // Cancel
     //
     this.Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.Cancel.Location     = new System.Drawing.Point(176, 296);
     this.Cancel.Name         = "Cancel";
     this.Cancel.Size         = new System.Drawing.Size(104, 24);
     this.Cancel.TabIndex     = 16;
     this.Cancel.Text         = "Cancel";
     //
     // SQLConnectionDialog
     //
     this.AcceptButton      = this.OK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.Cancel;
     this.ClientSize        = new System.Drawing.Size(290, 326);
     this.Controls.Add(this.Cancel);
     this.Controls.Add(this.OK);
     this.Controls.Add(this.newDatabase);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.testConnection);
     this.Controls.Add(this.cboDatabase);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.cboServers);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "SQLConnectionDialog";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Connection String";
     this.Load           += new System.EventHandler(this.UserControl1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(OracleConnectionDialog));
     this.testConnection   = new System.Windows.Forms.Button();
     this.checkBoxBlankPwd = new System.Windows.Forms.CheckBox();
     this.label4           = new System.Windows.Forms.Label();
     this.password         = new ConnectionBuilder.DklTextBox();
     this.userName         = new ConnectionBuilder.DklTextBox();
     this.label3           = new System.Windows.Forms.Label();
     this.label2           = new System.Windows.Forms.Label();
     this.label1           = new System.Windows.Forms.Label();
     this.cboServers       = new System.Windows.Forms.ComboBox();
     this.panel1           = new System.Windows.Forms.Panel();
     this.connectionTest   = new System.Data.OleDb.OleDbConnection();
     this.OK          = new System.Windows.Forms.Button();
     this.Cancel      = new System.Windows.Forms.Button();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // testConnection
     //
     this.testConnection.Location = new System.Drawing.Point(144, 160);
     this.testConnection.Name     = "testConnection";
     this.testConnection.Size     = new System.Drawing.Size(104, 24);
     this.testConnection.TabIndex = 9;
     this.testConnection.Text     = "&Test Connection";
     this.testConnection.Click   += new System.EventHandler(this.testConnection_Click);
     //
     // checkBoxBlankPwd
     //
     this.checkBoxBlankPwd.Location        = new System.Drawing.Point(8, 56);
     this.checkBoxBlankPwd.Name            = "checkBoxBlankPwd";
     this.checkBoxBlankPwd.Size            = new System.Drawing.Size(104, 16);
     this.checkBoxBlankPwd.TabIndex        = 8;
     this.checkBoxBlankPwd.Text            = "&Blank password";
     this.checkBoxBlankPwd.CheckedChanged += new System.EventHandler(this.checkBoxBlankPwd_CheckedChanged_1);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 56);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(240, 16);
     this.label4.TabIndex = 3;
     this.label4.Text     = "2. Enter &information to log on to the server:";
     //
     // password
     //
     this.password.Location     = new System.Drawing.Point(88, 32);
     this.password.Name         = "password";
     this.password.PasswordChar = '*';
     this.password.Size         = new System.Drawing.Size(120, 20);
     this.password.TabIndex     = 7;
     this.password.Text         = "";
     //
     // userName
     //
     this.userName.Location = new System.Drawing.Point(88, 8);
     this.userName.Name     = "userName";
     this.userName.Size     = new System.Drawing.Size(120, 20);
     this.userName.TabIndex = 5;
     this.userName.Text     = "";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 32);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(64, 24);
     this.label3.TabIndex = 6;
     this.label3.Text     = "&Password:"******"label2";
     this.label2.Size     = new System.Drawing.Size(80, 24);
     this.label2.TabIndex = 4;
     this.label2.Text     = "&User name:";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(184, 16);
     this.label1.TabIndex = 1;
     this.label1.Text     = "1. &Enter a Oracle Server:";
     //
     // cboServers
     //
     this.cboServers.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.Simple;
     this.cboServers.Location              = new System.Drawing.Point(8, 24);
     this.cboServers.Name                  = "cboServers";
     this.cboServers.Size                  = new System.Drawing.Size(184, 21);
     this.cboServers.TabIndex              = 2;
     this.cboServers.SelectedIndexChanged += new System.EventHandler(this.cboServers_SelectedIndexChanged_1);
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.password,
         this.userName,
         this.label2,
         this.label3,
         this.checkBoxBlankPwd
     });
     this.panel1.Location = new System.Drawing.Point(8, 72);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(240, 80);
     this.panel1.TabIndex = 4;
     //
     // OK
     //
     this.OK.Location = new System.Drawing.Point(32, 200);
     this.OK.Name     = "OK";
     this.OK.Size     = new System.Drawing.Size(104, 24);
     this.OK.TabIndex = 10;
     this.OK.Text     = "OK";
     this.OK.Click   += new System.EventHandler(this.OK_Click);
     //
     // Cancel
     //
     this.Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.Cancel.Location     = new System.Drawing.Point(144, 200);
     this.Cancel.Name         = "Cancel";
     this.Cancel.Size         = new System.Drawing.Size(104, 24);
     this.Cancel.TabIndex     = 11;
     this.Cancel.Text         = "Cancel";
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Bitmap)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(208, 8);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(32, 32);
     this.pictureBox1.TabIndex = 42;
     this.pictureBox1.TabStop  = false;
     //
     // OracleConnectionDialog
     //
     this.AcceptButton      = this.OK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.Cancel;
     this.ClientSize        = new System.Drawing.Size(258, 238);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.pictureBox1,
         this.Cancel,
         this.OK,
         this.panel1,
         this.testConnection,
         this.label4,
         this.label1,
         this.cboServers
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "OracleConnectionDialog";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Connection String";
     this.Load           += new System.EventHandler(this.UserControl1_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }