Attach behaviours to the buttons in this C# program