Example #1
0
        private void QTextBox_TextChanged(object sender, EventArgs e)
        {
            string defaultText = QTextBox.Text;

            QTextBox.Text = KeyEditTab.DigitText(QTextBox.Text);

            if (QTextBox.Text == defaultText)
            {
                EnableValidation(QValidateButton, false);
                EnableLastParameters(false);
            }
        }
Example #2
0
        private void ETextBox_TextChanged(object sender, EventArgs e)
        {
            string defaultText = ETextBox.Text;

            ETextBox.Text = KeyEditTab.DigitText(ETextBox.Text);

            if (ETextBox.Text == defaultText)
            {
                EnableValidation(EValidateButton, false);
                EnablePrimeParameters(false);
            }
        }
Example #3
0
        private void RSAEncryptor_Load(object sender, EventArgs e)
        {
            LoadKeysData();

            WindowState         = FormWindowState.Maximized;
            defaultClientHeight = ClientSize.Height;

            //ResizeTexts(15, EncryptorLayout);
            EncryptorTabButton_Click(this, null);
            EncryptorTab.EncryptorTab_Load();
            KeysTab.KeysTab_Load();
            KeyEditTab.KeyEditTab_Load();
            OpenKeyEdit(false);
        }
Example #4
0
 private void QSizeTextBox_TextChanged(object sender, EventArgs e)
 {
     QSizeTextBox.Text = KeyEditTab.DigitText(QSizeTextBox.Text);
 }
Example #5
0
 private void EMaxTextBox_TextChanged(object sender, EventArgs e)
 {
     EMaxTextBox.Text = KeyEditTab.DigitText(EMaxTextBox.Text);
 }