Window management in MoonWorks is implemented using the [SDL2](https://www.libsdl.org) library. All window management is handled through the `OSWindow` class. A reference to this class named `Window` is automatically created and can be retrieved from your `Game` subclass.
-`ScreenMode` determines whether the window will be created in windowed mode, fullscreen, or borderless fullscreen.
You can change the screen mode at runtime with the `ChangeScreenMode` method:
```cs
Window.ChangeScreenMode(ScreenMode.Fullscreen);
```
Note that if you change the screen resolution, it is *your* responsibility to manage any graphics state that may need to change as a result of this change.