Fix revert errato

revert Revert to 19a5a08f04

revert First experimental encryption implementation (not working)
This commit is contained in:
2025-12-03 09:20:35 +00:00
parent c071c706ee
commit 7994f3d066
7 changed files with 511 additions and 1314 deletions

View File

@@ -55,7 +55,20 @@ namespace SamaPager_Client
private void sendBtn_Click_1(object sender, EventArgs e)
{
if(keyTxt.Text == string.Empty)
{
KryptonMessageBox.Show("Inserire una chiave");
}
else if (messageTxt.Text == string.Empty)
{
KryptonMessageBox.Show("Inserire un messaggio");
}
else
{
pageClient.SendEncryptedMessage(messageTxt.Text, keyTxt.Text);
logLst.Items.Add($"Sent: {messageTxt.Text}");
messageTxt.Text = String.Empty;
}
}
private void sendWithoutEncryptionToolStripMenuItem_Click(object sender, EventArgs e)