private void btnEnkriptimi_Click(object sender, EventArgs e) { try { if (txtUnecrypted.Text == "") { MessageBox.Show("Ju lutem shtypni tekstin qe doni ta enkriptoni"); } else if (txtPassword.Text == "") { MessageBox.Show("Ju lutem shtypni passwordin per enkriptim"); } else { string unencrypted = txtUnecrypted.Text; string password = txtPassword.Text; txtEncrypted.Text = Encrypt(unencrypted, password); MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(txtPassword.Text)); } } catch (Exception eX) { MessageBox.Show(eX.Message); } CrackForma frmC = new CrackForma(); frmC.formaKryesore = this; }
private void dESDictionaryAttackToolStripMenuItem_Click(object sender, EventArgs e) { CrackForma frmC = new CrackForma(); frmC.ShowDialog(); //this.Hide(); }
private void button1_Click(object sender, EventArgs e) { CrackForma frmC = new CrackForma(); frmC.formaKryesore = this; frmC.Show(); this.Hide(); }