Update ProgramDesign

Tim Young 2017-10-03 03:11:33 +02:00
parent afb10ebb97
commit e0d5987168

@ -56,7 +56,9 @@ ExitButton.Click += ExitClick;
ExitButton.MouseOver = ExitMouseOver; ExitButton.MouseOver = ExitMouseOver;
ExitButton.MouseLeave = ExitMouseLeave; ExitButton.MouseLeave = ExitMouseLeave;
ExitButton.SetName(“ExitButton”); ExitButton.SetName(“ExitButton”);
```
Now, lets make our different functions. Now, lets make our different functions.
```c#
public void ExitClick(object sender, SpriteEventArgs e) public void ExitClick(object sender, SpriteEventArgs e)
{ {
If(sender is Sprite) If(sender is Sprite)