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); } }
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); } }
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); }
private void QSizeTextBox_TextChanged(object sender, EventArgs e) { QSizeTextBox.Text = KeyEditTab.DigitText(QSizeTextBox.Text); }
private void EMaxTextBox_TextChanged(object sender, EventArgs e) { EMaxTextBox.Text = KeyEditTab.DigitText(EMaxTextBox.Text); }