protected void clearToolStripMenuItem_Click(object sender, EventArgs e) { CalculatorEngine.CalcReset(); OutputDisplay.Text = "0"; }
// // Perform the calculation. // protected void KeyEqual_Click(object sender, System.EventArgs e) { OutputDisplay.Text = CalculatorEngine.CalcEqual(); CalculatorEngine.CalcReset(); }
protected void KeyClear_Click(object sender, System.EventArgs e) { CalculatorEngine.CalcReset(); OutputDisplay.Text = "0"; }