internal static void SetAlwaysOnTop(bool alwaysontop) { int num = TaskbarSettings.GetState(); if (alwaysontop) { num |= 2; } else { num &= -3; } TaskbarSettings.SetState(num); }
internal static void SetAutoHide(bool autohide) { int num = TaskbarSettings.GetState(); if (autohide) { num |= 1; } else { num &= -2; } TaskbarSettings.SetState(num); }
internal static bool GetAlwaysOnTop() { return((TaskbarSettings.GetState() & 2) == 2); }
internal static bool GetAutoHide() { return((TaskbarSettings.GetState() & 1) == 1); }