feat: add cp4decryption button
This commit is contained in:
parent
7f76188b81
commit
bcc5aa1717
|
@ -62,6 +62,7 @@
|
||||||
this.textBox12 = new System.Windows.Forms.TextBox();
|
this.textBox12 = new System.Windows.Forms.TextBox();
|
||||||
this.label14 = new System.Windows.Forms.Label();
|
this.label14 = new System.Windows.Forms.Label();
|
||||||
this.textBox13 = new System.Windows.Forms.TextBox();
|
this.textBox13 = new System.Windows.Forms.TextBox();
|
||||||
|
this.button5 = new System.Windows.Forms.Button();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
|
@ -370,12 +371,23 @@
|
||||||
this.textBox13.Size = new System.Drawing.Size(313, 20);
|
this.textBox13.Size = new System.Drawing.Size(313, 20);
|
||||||
this.textBox13.TabIndex = 513;
|
this.textBox13.TabIndex = 513;
|
||||||
//
|
//
|
||||||
|
// button5
|
||||||
|
//
|
||||||
|
this.button5.Location = new System.Drawing.Point(230, 461);
|
||||||
|
this.button5.Name = "button5";
|
||||||
|
this.button5.Size = new System.Drawing.Size(95, 23);
|
||||||
|
this.button5.TabIndex = 517;
|
||||||
|
this.button5.Text = "cp for decryption";
|
||||||
|
this.button5.UseVisualStyleBackColor = true;
|
||||||
|
this.button5.Click += new System.EventHandler(this.button5_Click);
|
||||||
|
//
|
||||||
// main_form
|
// main_form
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.AutoSize = true;
|
this.AutoSize = true;
|
||||||
this.ClientSize = new System.Drawing.Size(1140, 491);
|
this.ClientSize = new System.Drawing.Size(1140, 491);
|
||||||
|
this.Controls.Add(this.button5);
|
||||||
this.Controls.Add(this.label13);
|
this.Controls.Add(this.label13);
|
||||||
this.Controls.Add(this.textBox12);
|
this.Controls.Add(this.textBox12);
|
||||||
this.Controls.Add(this.label14);
|
this.Controls.Add(this.label14);
|
||||||
|
@ -457,6 +469,7 @@
|
||||||
private System.Windows.Forms.TextBox textBox12;
|
private System.Windows.Forms.TextBox textBox12;
|
||||||
private System.Windows.Forms.Label label14;
|
private System.Windows.Forms.Label label14;
|
||||||
private System.Windows.Forms.TextBox textBox13;
|
private System.Windows.Forms.TextBox textBox13;
|
||||||
|
private System.Windows.Forms.Button button5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
10
main_form.cs
10
main_form.cs
|
@ -385,5 +385,15 @@ namespace KRY_0x01_ng
|
||||||
/* decrypt */
|
/* decrypt */
|
||||||
decrypt();
|
decrypt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void button5_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
/* copy for decryption (tb7 --> tb9) */
|
||||||
|
string cryptmsg = textBox7.Text.Trim();
|
||||||
|
cryptmsg = String.Join("", cryptmsg);
|
||||||
|
cryptmsg = Regex.Replace(cryptmsg, @"\s+|", "");
|
||||||
|
textBox9.Text = cryptmsg;
|
||||||
|
MessageBox.Show("great success","cryptmsg has been copied");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue