//this method negates the number if positive and vice versa private void NegateOrNot(object sender, EventArgs e) { var btn = (Button)sender; Action = new NextMove(resultScreen, btn); resultScreen.Text = Action.NegateOrNot(); }