159 lines
5.3 KiB
C#
159 lines
5.3 KiB
C#
namespace SHA1Hash
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <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()
|
|
{
|
|
txtInput = new TextBox();
|
|
label1 = new Label();
|
|
btnHash = new Button();
|
|
txtOutput = new TextBox();
|
|
txtResult = new TextBox();
|
|
lblStatus = new Label();
|
|
txtDesc = new TextBox();
|
|
btnCreateReport = new Button();
|
|
btnZeroTrust = new Button();
|
|
SuspendLayout();
|
|
//
|
|
// txtInput
|
|
//
|
|
txtInput.Font = new Font("Consolas", 9F);
|
|
txtInput.Location = new Point(12, 27);
|
|
txtInput.Name = "txtInput";
|
|
txtInput.Size = new Size(303, 22);
|
|
txtInput.TabIndex = 0;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(12, 9);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(68, 15);
|
|
label1.TabIndex = 1;
|
|
label1.Text = "Enter String";
|
|
//
|
|
// btnHash
|
|
//
|
|
btnHash.Location = new Point(321, 26);
|
|
btnHash.Name = "btnHash";
|
|
btnHash.Size = new Size(75, 23);
|
|
btnHash.TabIndex = 2;
|
|
btnHash.Text = "Hash";
|
|
btnHash.UseVisualStyleBackColor = true;
|
|
btnHash.Click += btnHash_Click;
|
|
//
|
|
// txtOutput
|
|
//
|
|
txtOutput.Font = new Font("Consolas", 9F);
|
|
txtOutput.Location = new Point(12, 56);
|
|
txtOutput.Name = "txtOutput";
|
|
txtOutput.Size = new Size(303, 22);
|
|
txtOutput.TabIndex = 3;
|
|
//
|
|
// txtResult
|
|
//
|
|
txtResult.Font = new Font("Consolas", 9F);
|
|
txtResult.Location = new Point(12, 99);
|
|
txtResult.Name = "txtResult";
|
|
txtResult.Size = new Size(384, 22);
|
|
txtResult.TabIndex = 4;
|
|
//
|
|
// lblStatus
|
|
//
|
|
lblStatus.AutoSize = true;
|
|
lblStatus.Location = new Point(12, 81);
|
|
lblStatus.Name = "lblStatus";
|
|
lblStatus.Size = new Size(16, 15);
|
|
lblStatus.TabIndex = 5;
|
|
lblStatus.Text = "...";
|
|
//
|
|
// txtDesc
|
|
//
|
|
txtDesc.Font = new Font("Consolas", 9F);
|
|
txtDesc.HideSelection = false;
|
|
txtDesc.Location = new Point(12, 127);
|
|
txtDesc.Multiline = true;
|
|
txtDesc.Name = "txtDesc";
|
|
txtDesc.ScrollBars = ScrollBars.Vertical;
|
|
txtDesc.Size = new Size(384, 268);
|
|
txtDesc.TabIndex = 6;
|
|
//
|
|
// btnCreateReport
|
|
//
|
|
btnCreateReport.Location = new Point(12, 401);
|
|
btnCreateReport.Name = "btnCreateReport";
|
|
btnCreateReport.Size = new Size(384, 23);
|
|
btnCreateReport.TabIndex = 7;
|
|
btnCreateReport.Text = "Create Report";
|
|
btnCreateReport.UseVisualStyleBackColor = true;
|
|
btnCreateReport.Click += btnCreateReport_Click;
|
|
//
|
|
// btnZeroTrust
|
|
//
|
|
btnZeroTrust.Location = new Point(321, 56);
|
|
btnZeroTrust.Name = "btnZeroTrust";
|
|
btnZeroTrust.Size = new Size(75, 23);
|
|
btnZeroTrust.TabIndex = 8;
|
|
btnZeroTrust.Text = "ZeroTrust";
|
|
btnZeroTrust.UseVisualStyleBackColor = true;
|
|
btnZeroTrust.Click += btnZeroTrust_Click;
|
|
//
|
|
// Form1
|
|
//
|
|
AcceptButton = btnHash;
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(409, 436);
|
|
Controls.Add(btnZeroTrust);
|
|
Controls.Add(btnCreateReport);
|
|
Controls.Add(txtDesc);
|
|
Controls.Add(lblStatus);
|
|
Controls.Add(txtResult);
|
|
Controls.Add(txtOutput);
|
|
Controls.Add(btnHash);
|
|
Controls.Add(label1);
|
|
Controls.Add(txtInput);
|
|
Name = "Form1";
|
|
Text = "Password Checker";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TextBox txtInput;
|
|
private Label label1;
|
|
private Button btnHash;
|
|
private TextBox txtOutput;
|
|
private TextBox txtResult;
|
|
private Label lblStatus;
|
|
private TextBox txtDesc;
|
|
private Button btnCreateReport;
|
|
private Button btnZeroTrust;
|
|
}
|
|
}
|