private void Decrypt_Click(object sender, EventArgs e) { if (CheckWhetherAllTheValuesAreValidOrnOt()) { if (Decryption.DecryptPGPData(InputFilePathValue.Text, outputfilepathValue.Text, password.Text, privatekeypath.Text)) { MessageBox.Show("Successfully Decrypted"); } } }