//Чистка private void butC_Click(object sender, EventArgs e) { staticNumberFirst = "0"; staticNumberSecond = "0"; IndicComma = false; IndicSymbol = false; symbol = operationSymbol.ZERO; labelSymbol.Text = ""; label.Text = "0"; }
private void butcheckOperationSymbol(char s, operationSymbol operation) { if (IndicSymbol == true || staticNumberSecond != "") { butOperationSymbol(s); butSymbol(s, operation); } else { butSymbol(s, operation); } }
private void butSymbol(char symbolX, operationSymbol s) { IndicSymbol = true; symbol = s; labelSymbol.Text = staticNumberFirst + " " + symbolX; if (label.Text.Remove(label.Text.Length - 1) == ",") { label.Text = label.Text.Remove(label.Text.Length - 1); } //// }