}//gcd private void decrypt_button_Click(object sender, EventArgs e) { out_richTextBox.Clear(); language text = new language(); text.txt = in_richTextBox.Text; out_richTextBox.Clear(); string variant = comboBox1.SelectedItem.ToString(); if (comboBox1.Text == "Свой") { variant = textBox1.Text; } if (radioButton1.Checked == true) { out_richTextBox.Text = text.decrypt(Int32.Parse(textBox_a.Text), Int32.Parse(textBox_b.Text), Int32.Parse(textBox_a2.Text), Int32.Parse(textBox_b2.Text), text.txt, variant, false); } else { out_richTextBox.Text = text.decrypt(Int32.Parse(textBox_a.Text), Int32.Parse(textBox_b.Text), Int32.Parse(textBox_a2.Text), Int32.Parse(textBox_b2.Text), text.txt, variant, true); } }