christian@0: /* christian@0: * Postarc christian@0: * christian@0: * Author: christian@0: * Christian Lins christian@0: * christian@0: * Copyright: christian@0: * Copyright (C) 2012 Intevation GmbH christian@0: * christian@0: * This program is free software: you can redistribute it and/or modify christian@0: * it under the terms of the GNU Lesser General Public License as published by christian@0: * the Free Software Foundation, either version 3 of the License, or christian@0: * (at your option) any later version. christian@0: * christian@0: * This program is distributed in the hope that it will be useful, christian@0: * but WITHOUT ANY WARRANTY; without even the implied warranty of christian@0: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the christian@0: * GNU General Public License for more details. christian@0: * christian@0: * You should have received a copy of the GNU Lesser General Public License christian@0: * along with this program. If not, see . christian@0: */ christian@0: christian@0: namespace Postarc.GUI christian@0: { christian@0: partial class FormConnectionProperties christian@0: { christian@0: /// christian@0: /// Erforderliche Designervariable. christian@0: /// christian@0: private System.ComponentModel.IContainer components = null; christian@0: christian@0: /// christian@0: /// Verwendete Ressourcen bereinigen. christian@0: /// christian@0: /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. christian@0: protected override void Dispose(bool disposing) christian@0: { christian@0: if (disposing && (components != null)) christian@0: { christian@0: components.Dispose(); christian@0: } christian@0: base.Dispose(disposing); christian@0: } christian@0: christian@0: #region Vom Windows Form-Designer generierter Code christian@0: christian@0: /// christian@0: /// Erforderliche Methode für die Designerunterstützung. christian@0: /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. christian@0: /// christian@0: private void InitializeComponent() christian@0: { christian@0: this.lblConnectionName = new System.Windows.Forms.Label(); christian@0: this.txtConnectionName = new System.Windows.Forms.TextBox(); christian@0: this.lblUser = new System.Windows.Forms.Label(); christian@0: this.lblPassword = new System.Windows.Forms.Label(); christian@0: this.txtUser = new System.Windows.Forms.TextBox(); christian@0: this.txtPassword = new System.Windows.Forms.TextBox(); christian@0: this.groupBoxServer = new System.Windows.Forms.GroupBox(); christian@0: this.numPort = new System.Windows.Forms.NumericUpDown(); christian@0: this.lblPort = new System.Windows.Forms.Label(); christian@0: this.txtHost = new System.Windows.Forms.TextBox(); christian@0: this.lblHost = new System.Windows.Forms.Label(); christian@0: this.groupBoxAuthentication = new System.Windows.Forms.GroupBox(); christian@0: this.groupBoxDatabase = new System.Windows.Forms.GroupBox(); christian@0: this.cmbDbNames = new System.Windows.Forms.ComboBox(); christian@0: this.btnLoadDbNames = new System.Windows.Forms.Button(); christian@0: this.lblDbName = new System.Windows.Forms.Label(); christian@0: this.btnCancel = new System.Windows.Forms.Button(); christian@0: this.btnSave = new System.Windows.Forms.Button(); christian@0: this.btnTestConnection = new System.Windows.Forms.Button(); christian@0: this.groupBoxServer.SuspendLayout(); christian@0: ((System.ComponentModel.ISupportInitialize)(this.numPort)).BeginInit(); christian@0: this.groupBoxAuthentication.SuspendLayout(); christian@0: this.groupBoxDatabase.SuspendLayout(); christian@0: this.SuspendLayout(); christian@0: // christian@0: // lblConnectionName christian@0: // christian@0: this.lblConnectionName.AutoSize = true; christian@0: this.lblConnectionName.Location = new System.Drawing.Point(12, 9); christian@0: this.lblConnectionName.Name = "lblConnectionName"; christian@0: this.lblConnectionName.Size = new System.Drawing.Size(95, 13); christian@0: this.lblConnectionName.TabIndex = 0; christian@0: this.lblConnectionName.Text = "Connection Name:"; christian@0: // christian@0: // txtConnectionName christian@0: // christian@0: this.txtConnectionName.Location = new System.Drawing.Point(111, 6); christian@0: this.txtConnectionName.Name = "txtConnectionName"; christian@0: this.txtConnectionName.Size = new System.Drawing.Size(306, 20); christian@0: this.txtConnectionName.TabIndex = 1; christian@0: this.txtConnectionName.Text = "Unnamed connection profile"; christian@0: // christian@0: // lblUser christian@0: // christian@0: this.lblUser.AutoSize = true; christian@0: this.lblUser.Location = new System.Drawing.Point(15, 19); christian@0: this.lblUser.Name = "lblUser"; christian@0: this.lblUser.Size = new System.Drawing.Size(32, 13); christian@0: this.lblUser.TabIndex = 4; christian@0: this.lblUser.Text = "User:"; christian@0: // christian@0: // lblPassword christian@0: // christian@0: this.lblPassword.AutoSize = true; christian@0: this.lblPassword.Location = new System.Drawing.Point(231, 19); christian@0: this.lblPassword.Name = "lblPassword"; christian@0: this.lblPassword.Size = new System.Drawing.Size(56, 13); christian@0: this.lblPassword.TabIndex = 5; christian@0: this.lblPassword.Text = "Password:"; christian@0: // christian@0: // txtUser christian@0: // christian@0: this.txtUser.Location = new System.Drawing.Point(89, 16); christian@0: this.txtUser.Name = "txtUser"; christian@0: this.txtUser.Size = new System.Drawing.Size(100, 20); christian@0: this.txtUser.TabIndex = 6; christian@0: // christian@0: // txtPassword christian@0: // christian@0: this.txtPassword.Location = new System.Drawing.Point(293, 16); christian@0: this.txtPassword.Name = "txtPassword"; christian@0: this.txtPassword.PasswordChar = '#'; christian@0: this.txtPassword.Size = new System.Drawing.Size(100, 20); christian@0: this.txtPassword.TabIndex = 7; christian@0: // christian@0: // groupBoxServer christian@0: // christian@0: this.groupBoxServer.Controls.Add(this.numPort); christian@0: this.groupBoxServer.Controls.Add(this.lblPort); christian@0: this.groupBoxServer.Controls.Add(this.txtHost); christian@0: this.groupBoxServer.Controls.Add(this.lblHost); christian@0: this.groupBoxServer.Location = new System.Drawing.Point(12, 42); christian@0: this.groupBoxServer.Name = "groupBoxServer"; christian@0: this.groupBoxServer.Size = new System.Drawing.Size(405, 74); christian@0: this.groupBoxServer.TabIndex = 8; christian@0: this.groupBoxServer.TabStop = false; christian@0: this.groupBoxServer.Text = "Server"; christian@0: // christian@0: // numPort christian@0: // christian@0: this.numPort.Location = new System.Drawing.Point(62, 44); christian@0: this.numPort.Maximum = new decimal(new int[] { christian@0: 65535, christian@0: 0, christian@0: 0, christian@0: 0}); christian@0: this.numPort.Minimum = new decimal(new int[] { christian@0: 1, christian@0: 0, christian@0: 0, christian@0: 0}); christian@0: this.numPort.Name = "numPort"; christian@0: this.numPort.Size = new System.Drawing.Size(82, 20); christian@0: this.numPort.TabIndex = 8; christian@0: this.numPort.Value = new decimal(new int[] { christian@0: 5432, christian@0: 0, christian@0: 0, christian@0: 0}); christian@0: // christian@0: // lblPort christian@0: // christian@0: this.lblPort.AutoSize = true; christian@0: this.lblPort.Location = new System.Drawing.Point(15, 46); christian@0: this.lblPort.Name = "lblPort"; christian@0: this.lblPort.Size = new System.Drawing.Size(29, 13); christian@0: this.lblPort.TabIndex = 6; christian@0: this.lblPort.Text = "Port:"; christian@0: // christian@0: // txtHost christian@0: // christian@0: this.txtHost.Location = new System.Drawing.Point(62, 19); christian@0: this.txtHost.Name = "txtHost"; christian@0: this.txtHost.Size = new System.Drawing.Size(331, 20); christian@0: this.txtHost.TabIndex = 5; christian@0: this.txtHost.Text = "localhost"; christian@0: // christian@0: // lblHost christian@0: // christian@0: this.lblHost.AutoSize = true; christian@0: this.lblHost.Location = new System.Drawing.Point(15, 22); christian@0: this.lblHost.Name = "lblHost"; christian@0: this.lblHost.Size = new System.Drawing.Size(32, 13); christian@0: this.lblHost.TabIndex = 4; christian@0: this.lblHost.Text = "Host:"; christian@0: // christian@0: // groupBoxAuthentication christian@0: // christian@0: this.groupBoxAuthentication.Controls.Add(this.lblUser); christian@0: this.groupBoxAuthentication.Controls.Add(this.lblPassword); christian@0: this.groupBoxAuthentication.Controls.Add(this.txtPassword); christian@0: this.groupBoxAuthentication.Controls.Add(this.txtUser); christian@0: this.groupBoxAuthentication.Location = new System.Drawing.Point(12, 122); christian@0: this.groupBoxAuthentication.Name = "groupBoxAuthentication"; christian@0: this.groupBoxAuthentication.Size = new System.Drawing.Size(405, 51); christian@0: this.groupBoxAuthentication.TabIndex = 9; christian@0: this.groupBoxAuthentication.TabStop = false; christian@0: this.groupBoxAuthentication.Text = "Authentication"; christian@0: this.groupBoxAuthentication.Enter += new System.EventHandler(this.groupBoxAuthentication_Enter); christian@0: // christian@0: // groupBoxDatabase christian@0: // christian@0: this.groupBoxDatabase.Controls.Add(this.cmbDbNames); christian@0: this.groupBoxDatabase.Controls.Add(this.btnLoadDbNames); christian@0: this.groupBoxDatabase.Controls.Add(this.lblDbName); christian@0: this.groupBoxDatabase.Location = new System.Drawing.Point(12, 179); christian@0: this.groupBoxDatabase.Name = "groupBoxDatabase"; christian@0: this.groupBoxDatabase.Size = new System.Drawing.Size(405, 52); christian@0: this.groupBoxDatabase.TabIndex = 10; christian@0: this.groupBoxDatabase.TabStop = false; christian@0: this.groupBoxDatabase.Text = "Database"; christian@0: // christian@0: // cmbDbNames christian@0: // christian@0: this.cmbDbNames.FormattingEnabled = true; christian@0: this.cmbDbNames.Location = new System.Drawing.Point(108, 19); christian@0: this.cmbDbNames.Name = "cmbDbNames"; christian@0: this.cmbDbNames.Size = new System.Drawing.Size(210, 21); christian@0: this.cmbDbNames.TabIndex = 3; christian@0: // christian@0: // btnLoadDbNames christian@0: // christian@0: this.btnLoadDbNames.Location = new System.Drawing.Point(324, 17); christian@0: this.btnLoadDbNames.Name = "btnLoadDbNames"; christian@0: this.btnLoadDbNames.Size = new System.Drawing.Size(75, 23); christian@0: this.btnLoadDbNames.TabIndex = 2; christian@0: this.btnLoadDbNames.Text = "Load"; christian@0: this.btnLoadDbNames.UseVisualStyleBackColor = true; christian@0: // christian@0: // lblDbName christian@0: // christian@0: this.lblDbName.AutoSize = true; christian@0: this.lblDbName.Location = new System.Drawing.Point(15, 22); christian@0: this.lblDbName.Name = "lblDbName"; christian@0: this.lblDbName.Size = new System.Drawing.Size(87, 13); christian@0: this.lblDbName.TabIndex = 1; christian@0: this.lblDbName.Text = "Database Name:"; christian@0: // christian@0: // btnCancel christian@0: // christian@0: this.btnCancel.Location = new System.Drawing.Point(342, 237); christian@0: this.btnCancel.Name = "btnCancel"; christian@0: this.btnCancel.Size = new System.Drawing.Size(75, 23); christian@0: this.btnCancel.TabIndex = 11; christian@0: this.btnCancel.Text = "Cancel"; christian@0: this.btnCancel.UseVisualStyleBackColor = true; christian@0: this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); christian@0: // christian@0: // btnSave christian@0: // christian@0: this.btnSave.Location = new System.Drawing.Point(261, 237); christian@0: this.btnSave.Name = "btnSave"; christian@0: this.btnSave.Size = new System.Drawing.Size(75, 23); christian@0: this.btnSave.TabIndex = 12; christian@0: this.btnSave.Text = "Save"; christian@0: this.btnSave.UseVisualStyleBackColor = true; christian@0: this.btnSave.Click += new System.EventHandler(this.btnSave_Click); christian@0: // christian@0: // btnTestConnection christian@0: // christian@0: this.btnTestConnection.Location = new System.Drawing.Point(180, 237); christian@0: this.btnTestConnection.Name = "btnTestConnection"; christian@0: this.btnTestConnection.Size = new System.Drawing.Size(75, 23); christian@0: this.btnTestConnection.TabIndex = 13; christian@0: this.btnTestConnection.Text = "Test"; christian@0: this.btnTestConnection.UseVisualStyleBackColor = true; christian@0: this.btnTestConnection.Click += new System.EventHandler(this.btnTestConnection_Click); christian@0: // christian@0: // ConnectionPropertiesForm christian@0: // christian@0: this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); christian@0: this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; christian@0: this.ClientSize = new System.Drawing.Size(428, 268); christian@0: this.Controls.Add(this.btnTestConnection); christian@0: this.Controls.Add(this.btnSave); christian@0: this.Controls.Add(this.btnCancel); christian@0: this.Controls.Add(this.groupBoxDatabase); christian@0: this.Controls.Add(this.groupBoxAuthentication); christian@0: this.Controls.Add(this.groupBoxServer); christian@0: this.Controls.Add(this.txtConnectionName); christian@0: this.Controls.Add(this.lblConnectionName); christian@0: this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; christian@0: this.MaximizeBox = false; christian@0: this.MinimizeBox = false; christian@0: this.Name = "ConnectionPropertiesForm"; christian@0: this.Text = "Connection properties"; christian@0: this.groupBoxServer.ResumeLayout(false); christian@0: this.groupBoxServer.PerformLayout(); christian@0: ((System.ComponentModel.ISupportInitialize)(this.numPort)).EndInit(); christian@0: this.groupBoxAuthentication.ResumeLayout(false); christian@0: this.groupBoxAuthentication.PerformLayout(); christian@0: this.groupBoxDatabase.ResumeLayout(false); christian@0: this.groupBoxDatabase.PerformLayout(); christian@0: this.ResumeLayout(false); christian@0: this.PerformLayout(); christian@0: christian@0: } christian@0: christian@0: #endregion christian@0: christian@0: private System.Windows.Forms.Label lblConnectionName; christian@0: private System.Windows.Forms.TextBox txtConnectionName; christian@0: private System.Windows.Forms.Label lblUser; christian@0: private System.Windows.Forms.Label lblPassword; christian@0: private System.Windows.Forms.TextBox txtUser; christian@0: private System.Windows.Forms.TextBox txtPassword; christian@0: private System.Windows.Forms.GroupBox groupBoxServer; christian@0: private System.Windows.Forms.Label lblPort; christian@0: private System.Windows.Forms.TextBox txtHost; christian@0: private System.Windows.Forms.Label lblHost; christian@0: private System.Windows.Forms.NumericUpDown numPort; christian@0: private System.Windows.Forms.GroupBox groupBoxAuthentication; christian@0: private System.Windows.Forms.GroupBox groupBoxDatabase; christian@0: private System.Windows.Forms.Button btnLoadDbNames; christian@0: private System.Windows.Forms.Label lblDbName; christian@0: private System.Windows.Forms.Button btnCancel; christian@0: private System.Windows.Forms.Button btnSave; christian@0: private System.Windows.Forms.ComboBox cmbDbNames; christian@0: private System.Windows.Forms.Button btnTestConnection; christian@0: } christian@0: } christian@0: