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); }