Exemplo n.º 1
0
        private void ToDecBut_Click(object sender, EventArgs e)
        {
            Fraction fr = new Fraction();

            ControllerSimple.CreateFraction(MainTextBox.Text, ref fr);
            double dec = Calculations.ToDecimal(fr);

            DecFCheckBox.Checked = true;
            MainTextBox.Text     = dec.ToString();
        }