Exemplo n.º 1
0
        private void btnByTwo_Click(object sender, EventArgs e)
        {
            double opr1;

            if (double.TryParse(txtInput.Text, out opr1))
            {
                txtInput.Text = calcRef.Halve(opr1).ToString();
            }
        }