//private void numberButton_Click(object sender, EventArgs e) //{ // calculationManager.NumberPressed((Button)sender); //} //private void backspaceButton_Click(object sender, EventArgs e) //{ // calculationManager.BackspacePressed(); //} //private void cancelButton_Click(object sender, EventArgs e) //{ // calculationManager.Reset(); //} //private void commaButton_Click(object sender, EventArgs e) //{ // calculationManager.PreviousButton = commaButton; //} //private void operationButton_Click(object sender, EventArgs e) //{ // Form1 form = (Form1)ParentForm; // calculationManager.OperationPressed(form, (Button)sender); //} //private void equalButton_Click(object sender, EventArgs e) //{ // Form1 form = (Form1)ParentForm; // calculationManager.EqualPressed(form); //} //private void signButton_Click(object sender, EventArgs e) //{ // calculationManager.SignPressed(); //} private void numberButton_MouseClick(object sender, MouseEventArgs e) { calculationManager.NumberPressed((Button)sender); calculationTextBox.Focus(); }