private ChangeTrayIconVisibility ( bool isTrayIconEnabled ) : void | ||
isTrayIconEnabled | bool | |
Результат | void |
private void ChangeTrayIconVisibility(bool isTrayIconEnabled)
{
if (Settings.Default.FullScreen)
{
if (isTrayIconEnabled)
{
HideWindowAndShowTrayIcon();
}
else
{
ShowWindowAndHideTrayIcon();
}
}
}