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(); } }