237 lines
11 KiB
C#
237 lines
11 KiB
C#
namespace PasswordEncryptor
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.txtOutput = new System.Windows.Forms.RichTextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.txtHost = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.txtPort = new System.Windows.Forms.NumericUpDown();
|
|
this.txtDatabase = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.txtUser = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.txtPassword = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
((System.ComponentModel.ISupportInitialize)(this.txtPort)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// txtOutput
|
|
//
|
|
this.txtOutput.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.txtOutput.Location = new System.Drawing.Point(12, 325);
|
|
this.txtOutput.Name = "txtOutput";
|
|
this.txtOutput.ReadOnly = true;
|
|
this.txtOutput.Size = new System.Drawing.Size(460, 173);
|
|
this.txtOutput.TabIndex = 3;
|
|
this.txtOutput.Text = "";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.label2.AutoSize = true;
|
|
this.label2.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
this.label2.Location = new System.Drawing.Point(12, 301);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(241, 21);
|
|
this.label2.TabIndex = 2;
|
|
this.label2.Text = "OUTPUT (for appsettings.json)";
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.button1.Location = new System.Drawing.Point(397, 504);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
this.button1.TabIndex = 4;
|
|
this.button1.Text = "Encrypt";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.label1.Location = new System.Drawing.Point(8, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(61, 21);
|
|
this.label1.TabIndex = 5;
|
|
this.label1.Text = "Host/IP";
|
|
//
|
|
// 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.Location = new System.Drawing.Point(12, 33);
|
|
this.txtHost.Name = "txtHost";
|
|
this.txtHost.Size = new System.Drawing.Size(460, 23);
|
|
this.txtHost.TabIndex = 6;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.label3.Location = new System.Drawing.Point(8, 59);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(38, 21);
|
|
this.label3.TabIndex = 7;
|
|
this.label3.Text = "Port";
|
|
//
|
|
// 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.Location = new System.Drawing.Point(12, 83);
|
|
this.txtPort.Maximum = new decimal(new int[] {
|
|
99999,
|
|
0,
|
|
0,
|
|
0});
|
|
this.txtPort.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.txtPort.Name = "txtPort";
|
|
this.txtPort.Size = new System.Drawing.Size(460, 23);
|
|
this.txtPort.TabIndex = 8;
|
|
this.txtPort.Value = new decimal(new int[] {
|
|
3306,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// 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.Location = new System.Drawing.Point(12, 134);
|
|
this.txtDatabase.Name = "txtDatabase";
|
|
this.txtDatabase.Size = new System.Drawing.Size(460, 23);
|
|
this.txtDatabase.TabIndex = 10;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.label4.Location = new System.Drawing.Point(9, 110);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(74, 21);
|
|
this.label4.TabIndex = 9;
|
|
this.label4.Text = "Database";
|
|
//
|
|
// 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.Location = new System.Drawing.Point(12, 185);
|
|
this.txtUser.Name = "txtUser";
|
|
this.txtUser.Size = new System.Drawing.Size(460, 23);
|
|
this.txtUser.TabIndex = 12;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.label5.Location = new System.Drawing.Point(9, 161);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(42, 21);
|
|
this.label5.TabIndex = 11;
|
|
this.label5.Text = "User";
|
|
//
|
|
// 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.Location = new System.Drawing.Point(12, 241);
|
|
this.txtPassword.Name = "txtPassword";
|
|
this.txtPassword.PasswordChar = '*';
|
|
this.txtPassword.Size = new System.Drawing.Size(460, 23);
|
|
this.txtPassword.TabIndex = 14;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.label6.Location = new System.Drawing.Point(10, 217);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(42, 21);
|
|
this.label6.TabIndex = 13;
|
|
this.label6.Text = "User";
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.White;
|
|
this.ClientSize = new System.Drawing.Size(484, 540);
|
|
this.Controls.Add(this.txtPassword);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.txtUser);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.txtDatabase);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.txtPort);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.txtHost);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.button1);
|
|
this.Controls.Add(this.txtOutput);
|
|
this.Controls.Add(this.label2);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "MainForm";
|
|
this.ShowIcon = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "PasswortEncryptor";
|
|
((System.ComponentModel.ISupportInitialize)(this.txtPort)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
private RichTextBox txtOutput;
|
|
private Label label2;
|
|
private Button button1;
|
|
private Label label1;
|
|
private TextBox txtHost;
|
|
private Label label3;
|
|
private NumericUpDown txtPort;
|
|
private TextBox txtDatabase;
|
|
private Label label4;
|
|
private TextBox txtUser;
|
|
private Label label5;
|
|
private TextBox txtPassword;
|
|
private Label label6;
|
|
}
|
|
} |