private void Button1_Click(object sender, EventArgs e) { if (radioButton1.Checked) { label2.Text = BinaryHelper.ToBinary(Convert.ToInt32(textBox1.Text)); } if (radioButton2.Checked) { label2.Text = BinaryHelper.ToBinary(Convert.ToInt32(textBox1.Text)); } if (radioButton3.Checked) { label2.Text = BinaryHelper.ToDopBinary(Convert.ToInt32(textBox1.Text)); } if (radioButton4.Checked) { label2.Text = BinaryHelper.ToIEEE754(Convert.ToInt32(textBox1.Text)).ToString(); } if (radioButton5.Checked) { label2.Text = BinaryHelper.ToIEEE754(Convert.ToInt32(textBox1.Text)).ToString(); } }