Table of Contents

Class WindowBehavior

Namespace
McServerLauncher.Services
Assembly
McServerLauncher.dll

What the window's minimize and close buttons do, as chosen in the settings. App-wide state (like Global): set at startup from the saved settings and updated when the user edits them, so the change takes effect without restarting the app.

public static class WindowBehavior
Inheritance
WindowBehavior
Inherited Members

Properties

CloseToTray

The X button hides the window to the tray instead of quitting the app.

public static bool CloseToTray { get; set; }

Property Value

bool

MinimizeToTray

Minimizing hides the window to the tray instead of leaving it in the taskbar.

public static bool MinimizeToTray { get; set; }

Property Value

bool