示例#1
0
文件: Form1.cs 项目: Hashtag97/Calc
        private void buttonCos_Click(object sender, EventArgs e)
        {
            if (CanPress())
            {
                calc.Put_A(Convert.ToDouble(labelNumber.Text));

                labelNumber.Text = calc.Cos().ToString();

                calc.Clear_A();
                FreeButtons();
            }
        }