245 lines
13 KiB
C#
245 lines
13 KiB
C#
namespace MySQLPassword
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Erforderliche Designervariable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Verwendete Ressourcen bereinigen.
|
|
/// </summary>
|
|
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Vom Windows Form-Designer generierter Code
|
|
|
|
/// <summary>
|
|
/// Erforderliche Methode für die Designerunterstützung.
|
|
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.txtHost = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.txtDatabase = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.txtUser = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.txtPassword = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.txtPort = new System.Windows.Forms.NumericUpDown();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.txtOutput = new System.Windows.Forms.TextBox();
|
|
this.btnEncrypt = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.txtPort)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label1.Location = new System.Drawing.Point(12, 18);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(510, 23);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Host/IP";
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// txtHost
|
|
//
|
|
this.txtHost.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.txtHost.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtHost.Location = new System.Drawing.Point(16, 44);
|
|
this.txtHost.Name = "txtHost";
|
|
this.txtHost.Size = new System.Drawing.Size(506, 26);
|
|
this.txtHost.TabIndex = 1;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label2.Location = new System.Drawing.Point(12, 76);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(510, 23);
|
|
this.label2.TabIndex = 2;
|
|
this.label2.Text = "Port";
|
|
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// txtDatabase
|
|
//
|
|
this.txtDatabase.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.txtDatabase.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtDatabase.Location = new System.Drawing.Point(16, 160);
|
|
this.txtDatabase.Name = "txtDatabase";
|
|
this.txtDatabase.Size = new System.Drawing.Size(506, 26);
|
|
this.txtDatabase.TabIndex = 5;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label3.Location = new System.Drawing.Point(12, 134);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(510, 23);
|
|
this.label3.TabIndex = 4;
|
|
this.label3.Text = "Datenbank";
|
|
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// txtUser
|
|
//
|
|
this.txtUser.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.txtUser.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtUser.Location = new System.Drawing.Point(16, 218);
|
|
this.txtUser.Name = "txtUser";
|
|
this.txtUser.Size = new System.Drawing.Size(506, 26);
|
|
this.txtUser.TabIndex = 7;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label4.Location = new System.Drawing.Point(12, 192);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(510, 23);
|
|
this.label4.TabIndex = 6;
|
|
this.label4.Text = "Benutzer";
|
|
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// txtPassword
|
|
//
|
|
this.txtPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.txtPassword.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtPassword.Location = new System.Drawing.Point(16, 277);
|
|
this.txtPassword.Name = "txtPassword";
|
|
this.txtPassword.PasswordChar = '*';
|
|
this.txtPassword.Size = new System.Drawing.Size(506, 26);
|
|
this.txtPassword.TabIndex = 9;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label5.Location = new System.Drawing.Point(12, 251);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(510, 23);
|
|
this.label5.TabIndex = 8;
|
|
this.label5.Text = "Passwort";
|
|
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// txtPort
|
|
//
|
|
this.txtPort.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.txtPort.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtPort.Location = new System.Drawing.Point(16, 102);
|
|
this.txtPort.Maximum = new decimal(new int[] {
|
|
999999,
|
|
0,
|
|
0,
|
|
0});
|
|
this.txtPort.Name = "txtPort";
|
|
this.txtPort.Size = new System.Drawing.Size(506, 26);
|
|
this.txtPort.TabIndex = 10;
|
|
this.txtPort.Value = new decimal(new int[] {
|
|
3306,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label6.Location = new System.Drawing.Point(12, 325);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(510, 23);
|
|
this.label6.TabIndex = 11;
|
|
this.label6.Text = "Verschlüsselte Datenbank-Verbindungszeichenfolge für appsettings.json";
|
|
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// txtOutput
|
|
//
|
|
this.txtOutput.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtOutput.Location = new System.Drawing.Point(16, 352);
|
|
this.txtOutput.Name = "txtOutput";
|
|
this.txtOutput.Size = new System.Drawing.Size(506, 26);
|
|
this.txtOutput.TabIndex = 12;
|
|
//
|
|
// btnEncrypt
|
|
//
|
|
this.btnEncrypt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnEncrypt.Location = new System.Drawing.Point(413, 405);
|
|
this.btnEncrypt.Name = "btnEncrypt";
|
|
this.btnEncrypt.Size = new System.Drawing.Size(109, 29);
|
|
this.btnEncrypt.TabIndex = 13;
|
|
this.btnEncrypt.Text = "Verschlüsseln";
|
|
this.btnEncrypt.UseVisualStyleBackColor = true;
|
|
this.btnEncrypt.Click += new System.EventHandler(this.btnEncrypt_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(534, 445);
|
|
this.Controls.Add(this.btnEncrypt);
|
|
this.Controls.Add(this.txtOutput);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.txtPort);
|
|
this.Controls.Add(this.txtPassword);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.txtUser);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.txtDatabase);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.txtHost);
|
|
this.Controls.Add(this.label1);
|
|
this.Name = "Form1";
|
|
this.ShowIcon = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "MySQL - Datenbank-Verbindungszeichenfolge";
|
|
((System.ComponentModel.ISupportInitialize)(this.txtPort)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox txtHost;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox txtDatabase;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox txtUser;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox txtPassword;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.NumericUpDown txtPort;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.TextBox txtOutput;
|
|
private System.Windows.Forms.Button btnEncrypt;
|
|
}
|
|
}
|
|
|