Beispiel #1
0
 private void HelpPopup(object sender, EventArgs e)
 {
     ResultBox resultBox = new ResultBox(true);
     resultBox.ShowDialog(this);
 }
Beispiel #2
0
        private void DecryptText(object sender, EventArgs e)
        {
            string text = this.textBoxLog.SelectedText;
            if (string.IsNullOrEmpty(text))
            {
                text = this.textBoxLog.Text;
            }

            try
            {
                string result = new AveCrypto().Decrypt(text);
                if (!string.IsNullOrEmpty(result))
                {
                    ResultBox resultBox = new ResultBox();
                    resultBox.result = result;
                    resultBox.ShowDialog(this);
                }
            }
            catch (Exception ex)
            {
                SetTextAsLog(ex.ToString());
            }
        }