void BtnMemoryClear_Click(object sender, EventArgs e) { SetOperatorButtonColours(); //Reset any inverted operator buttons calculator.MemoryClear(); }