コード例 #1
0
        private void btnSqrRoot_Click(object sender, EventArgs e)
        {
            double opr1;

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