C# uses the event delegate to implement the value of the form to do the calculator