Update ProgramDesign
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, let’s make our different functions.
|
Now, let’s 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user