src\Framework\System\Windows\SystemParameters.cs (465)
88if (!SystemResources.ClearSlot(_cacheValid, slot))
116lock (_cacheValid)
118while (!_cacheValid[(int)CacheSlot.FocusBorderWidth])
120_cacheValid[(int)CacheSlot.FocusBorderWidth] = true;
130_cacheValid[(int)CacheSlot.FocusBorderWidth] = false;
152lock (_cacheValid)
154while (!_cacheValid[(int)CacheSlot.FocusBorderHeight])
156_cacheValid[(int)CacheSlot.FocusBorderHeight] = true;
166_cacheValid[(int)CacheSlot.FocusBorderHeight] = false;
189lock (_cacheValid)
191while (!_cacheValid[(int)CacheSlot.HighContrast])
193_cacheValid[(int)CacheSlot.HighContrast] = true;
204_cacheValid[(int)CacheSlot.HighContrast] = false;
227lock (_cacheValid)
229while (!_cacheValid[(int)CacheSlot.MouseVanish])
231_cacheValid[(int)CacheSlot.MouseVanish] = true;
238_cacheValid[(int)CacheSlot.MouseVanish] = false;
322lock (_cacheValid)
324while (!_cacheValid[(int)CacheSlot.DropShadow])
326_cacheValid[(int)CacheSlot.DropShadow] = true;
333_cacheValid[(int)CacheSlot.DropShadow] = false;
356lock (_cacheValid)
358while (!_cacheValid[(int)CacheSlot.FlatMenu])
360_cacheValid[(int)CacheSlot.FlatMenu] = true;
367_cacheValid[(int)CacheSlot.FlatMenu] = false;
389lock (_cacheValid)
391while (!_cacheValid[(int)CacheSlot.WorkAreaInternal])
393_cacheValid[(int)CacheSlot.WorkAreaInternal] = true;
401_cacheValid[(int)CacheSlot.WorkAreaInternal] = false;
418lock (_cacheValid)
420while (!_cacheValid[(int)CacheSlot.WorkArea])
422_cacheValid[(int)CacheSlot.WorkArea] = true;
501lock (_cacheValid)
503while (!_cacheValid[(int)CacheSlot.IconMetrics])
505_cacheValid[(int)CacheSlot.IconMetrics] = true;
513_cacheValid[(int)CacheSlot.IconMetrics] = false;
626lock (_cacheValid)
628while (!_cacheValid[(int)CacheSlot.KeyboardCues])
630_cacheValid[(int)CacheSlot.KeyboardCues] = true;
637_cacheValid[(int)CacheSlot.KeyboardCues] = false;
659lock (_cacheValid)
661while (!_cacheValid[(int)CacheSlot.KeyboardDelay])
663_cacheValid[(int)CacheSlot.KeyboardDelay] = true;
670_cacheValid[(int)CacheSlot.KeyboardDelay] = false;
692lock (_cacheValid)
694while (!_cacheValid[(int)CacheSlot.KeyboardPreference])
696_cacheValid[(int)CacheSlot.KeyboardPreference] = true;
703_cacheValid[(int)CacheSlot.KeyboardPreference] = false;
725lock (_cacheValid)
727while (!_cacheValid[(int)CacheSlot.KeyboardSpeed])
729_cacheValid[(int)CacheSlot.KeyboardSpeed] = true;
736_cacheValid[(int)CacheSlot.KeyboardSpeed] = false;
758lock (_cacheValid)
760while (!_cacheValid[(int)CacheSlot.SnapToDefaultButton])
762_cacheValid[(int)CacheSlot.SnapToDefaultButton] = true;
769_cacheValid[(int)CacheSlot.SnapToDefaultButton] = false;
791lock (_cacheValid)
793while (!_cacheValid[(int)CacheSlot.WheelScrollLines])
795_cacheValid[(int)CacheSlot.WheelScrollLines] = true;
802_cacheValid[(int)CacheSlot.WheelScrollLines] = false;
832lock (_cacheValid)
834while (!_cacheValid[(int)CacheSlot.MouseHoverTime])
836_cacheValid[(int)CacheSlot.MouseHoverTime] = true;
843_cacheValid[(int)CacheSlot.MouseHoverTime] = false;
865lock (_cacheValid)
867while (!_cacheValid[(int)CacheSlot.MouseHoverHeight])
869_cacheValid[(int)CacheSlot.MouseHoverHeight] = true;
879_cacheValid[(int)CacheSlot.MouseHoverHeight] = false;
902lock (_cacheValid)
904while (!_cacheValid[(int)CacheSlot.MouseHoverWidth])
906_cacheValid[(int)CacheSlot.MouseHoverWidth] = true;
916_cacheValid[(int)CacheSlot.MouseHoverWidth] = false;
1092lock (_cacheValid)
1094while (!_cacheValid[(int)CacheSlot.MenuDropAlignment])
1096_cacheValid[(int)CacheSlot.MenuDropAlignment] = true;
1103_cacheValid[(int)CacheSlot.MenuDropAlignment] = false;
1124lock (_cacheValid)
1126while (!_cacheValid[(int)CacheSlot.MenuFade])
1128_cacheValid[(int)CacheSlot.MenuFade] = true;
1135_cacheValid[(int)CacheSlot.MenuFade] = false;
1158lock (_cacheValid)
1160while (!_cacheValid[(int)CacheSlot.MenuShowDelay])
1162_cacheValid[(int)CacheSlot.MenuShowDelay] = true;
1169_cacheValid[(int)CacheSlot.MenuShowDelay] = false;
1266lock (_cacheValid)
1268while (!_cacheValid[(int)CacheSlot.ComboBoxAnimation])
1270_cacheValid[(int)CacheSlot.ComboBoxAnimation] = true;
1277_cacheValid[(int)CacheSlot.ComboBoxAnimation] = false;
1299lock (_cacheValid)
1301while (!_cacheValid[(int)CacheSlot.ClientAreaAnimation])
1303_cacheValid[(int)CacheSlot.ClientAreaAnimation] = true;
1313_cacheValid[(int)CacheSlot.ClientAreaAnimation] = false;
1340lock (_cacheValid)
1342while (!_cacheValid[(int)CacheSlot.CursorShadow])
1344_cacheValid[(int)CacheSlot.CursorShadow] = true;
1351_cacheValid[(int)CacheSlot.CursorShadow] = false;
1373lock (_cacheValid)
1375while (!_cacheValid[(int)CacheSlot.GradientCaptions])
1377_cacheValid[(int)CacheSlot.GradientCaptions] = true;
1384_cacheValid[(int)CacheSlot.GradientCaptions] = false;
1406lock (_cacheValid)
1408while (!_cacheValid[(int)CacheSlot.HotTracking])
1410_cacheValid[(int)CacheSlot.HotTracking] = true;
1417_cacheValid[(int)CacheSlot.HotTracking] = false;
1439lock (_cacheValid)
1441while (!_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling])
1443_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = true;
1450_cacheValid[(int)CacheSlot.ListBoxSmoothScrolling] = false;
1495lock (_cacheValid)
1497while (!_cacheValid[(int)CacheSlot.MenuAnimation])
1499_cacheValid[(int)CacheSlot.MenuAnimation] = true;
1506_cacheValid[(int)CacheSlot.MenuAnimation] = false;
1528lock (_cacheValid)
1530while (!_cacheValid[(int)CacheSlot.SelectionFade])
1532_cacheValid[(int)CacheSlot.SelectionFade] = true;
1539_cacheValid[(int)CacheSlot.SelectionFade] = false;
1561lock (_cacheValid)
1563while (!_cacheValid[(int)CacheSlot.StylusHotTracking])
1565_cacheValid[(int)CacheSlot.StylusHotTracking] = true;
1572_cacheValid[(int)CacheSlot.StylusHotTracking] = false;
1611lock (_cacheValid)
1613while (!_cacheValid[(int)CacheSlot.ToolTipAnimation])
1615_cacheValid[(int)CacheSlot.ToolTipAnimation] = true;
1622_cacheValid[(int)CacheSlot.ToolTipAnimation] = false;
1644lock (_cacheValid)
1646while (!_cacheValid[(int)CacheSlot.ToolTipFade])
1648_cacheValid[(int)CacheSlot.ToolTipFade] = true;
1655_cacheValid[(int)CacheSlot.ToolTipFade] = false;
1677lock (_cacheValid)
1679while (!_cacheValid[(int)CacheSlot.UIEffects])
1681_cacheValid[(int)CacheSlot.UIEffects] = true;
1688_cacheValid[(int)CacheSlot.UIEffects] = false;
1958lock (_cacheValid)
1960while (!_cacheValid[(int)CacheSlot.MinimizeAnimation])
1962_cacheValid[(int)CacheSlot.MinimizeAnimation] = true;
1972_cacheValid[(int)CacheSlot.MinimizeAnimation] = false;
1994lock (_cacheValid)
1996while (!_cacheValid[(int)CacheSlot.Border])
1998_cacheValid[(int)CacheSlot.Border] = true;
2005_cacheValid[(int)CacheSlot.Border] = false;
2027lock (_cacheValid)
2029while (!_cacheValid[(int)CacheSlot.CaretWidth])
2031_cacheValid[(int)CacheSlot.CaretWidth] = true;
2061_cacheValid[(int)CacheSlot.CaretWidth] = false;
2085lock (_cacheValid)
2087while (!_cacheValid[(int)CacheSlot.DragFullWindows])
2089_cacheValid[(int)CacheSlot.DragFullWindows] = true;
2096_cacheValid[(int)CacheSlot.DragFullWindows] = false;
2119lock (_cacheValid)
2121while (!_cacheValid[(int)CacheSlot.ForegroundFlashCount])
2123_cacheValid[(int)CacheSlot.ForegroundFlashCount] = true;
2130_cacheValid[(int)CacheSlot.ForegroundFlashCount] = false;
2152lock (_cacheValid)
2154while (!_cacheValid[(int)CacheSlot.NonClientMetrics])
2156_cacheValid[(int)CacheSlot.NonClientMetrics] = true;
2164_cacheValid[(int)CacheSlot.NonClientMetrics] = false;
2501lock (_cacheValid)
2503while (!_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight])
2505_cacheValid[(int)CacheSlot.ThinHorizontalBorderHeight] = true;
2527lock (_cacheValid)
2529while (!_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth])
2531_cacheValid[(int)CacheSlot.ThinVerticalBorderWidth] = true;
2552lock (_cacheValid)
2554while (!_cacheValid[(int)CacheSlot.CursorWidth])
2556_cacheValid[(int)CacheSlot.CursorWidth] = true;
2577lock (_cacheValid)
2579while (!_cacheValid[(int)CacheSlot.CursorHeight])
2581_cacheValid[(int)CacheSlot.CursorHeight] = true;
2602lock (_cacheValid)
2604while (!_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight])
2606_cacheValid[(int)CacheSlot.ThickHorizontalBorderHeight] = true;
2627lock (_cacheValid)
2629while (!_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth])
2631_cacheValid[(int)CacheSlot.ThickVerticalBorderWidth] = true;
2652lock (_cacheValid)
2654while (!_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance])
2656_cacheValid[(int)CacheSlot.MinimumHorizontalDragDistance] = true;
2677lock (_cacheValid)
2679while (!_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance])
2681_cacheValid[(int)CacheSlot.MinimumVerticalDragDistance] = true;
2702lock (_cacheValid)
2704while(!_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight])
2706_cacheValid[(int)CacheSlot.FixedFrameHorizontalBorderHeight] = true;
2727lock (_cacheValid)
2729while (!_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth])
2731_cacheValid[(int)CacheSlot.FixedFrameVerticalBorderWidth] = true;
2752lock (_cacheValid)
2754while (!_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight])
2756_cacheValid[(int)CacheSlot.FocusHorizontalBorderHeight] = true;
2777lock (_cacheValid)
2779while(!_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth])
2781_cacheValid[(int)CacheSlot.FocusVerticalBorderWidth] = true;
2807lock (_cacheValid)
2809while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth])
2811_cacheValid[(int)CacheSlot.FullPrimaryScreenWidth] = true;
2836lock (_cacheValid)
2838while (!_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight])
2840_cacheValid[(int)CacheSlot.FullPrimaryScreenHeight] = true;
2861lock (_cacheValid)
2863while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth])
2865_cacheValid[(int)CacheSlot.HorizontalScrollBarButtonWidth] = true;
2886lock (_cacheValid)
2888while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight])
2890_cacheValid[(int)CacheSlot.HorizontalScrollBarHeight] = true;
2911lock (_cacheValid)
2913while (!_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth])
2915_cacheValid[(int)CacheSlot.HorizontalScrollBarThumbWidth] = true;
2936lock (_cacheValid)
2938while (!_cacheValid[(int)CacheSlot.IconWidth])
2940_cacheValid[(int)CacheSlot.IconWidth] = true;
2961lock (_cacheValid)
2963while (!_cacheValid[(int)CacheSlot.IconHeight])
2965_cacheValid[(int)CacheSlot.IconHeight] = true;
2986lock (_cacheValid)
2988while (!_cacheValid[(int)CacheSlot.IconGridWidth])
2990_cacheValid[(int)CacheSlot.IconGridWidth] = true;
3011lock (_cacheValid)
3013while (!_cacheValid[(int)CacheSlot.IconGridHeight])
3015_cacheValid[(int)CacheSlot.IconGridHeight] = true;
3040lock (_cacheValid)
3042while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth])
3044_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenWidth] = true;
3069lock (_cacheValid)
3071while (!_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight])
3073_cacheValid[(int)CacheSlot.MaximizedPrimaryScreenHeight] = true;
3098lock (_cacheValid)
3100while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth])
3102_cacheValid[(int)CacheSlot.MaximumWindowTrackWidth] = true;
3127lock (_cacheValid)
3129while (!_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight])
3131_cacheValid[(int)CacheSlot.MaximumWindowTrackHeight] = true;
3152lock (_cacheValid)
3154while (!_cacheValid[(int)CacheSlot.MenuCheckmarkWidth])
3156_cacheValid[(int)CacheSlot.MenuCheckmarkWidth] = true;
3177lock (_cacheValid)
3179while (!_cacheValid[(int)CacheSlot.MenuCheckmarkHeight])
3181_cacheValid[(int)CacheSlot.MenuCheckmarkHeight] = true;
3202lock (_cacheValid)
3204while (!_cacheValid[(int)CacheSlot.MenuButtonWidth])
3206_cacheValid[(int)CacheSlot.MenuButtonWidth] = true;
3227lock (_cacheValid)
3229while (!_cacheValid[(int)CacheSlot.MenuButtonHeight])
3231_cacheValid[(int)CacheSlot.MenuButtonHeight] = true;
3256lock (_cacheValid)
3258while (!_cacheValid[(int)CacheSlot.MinimumWindowWidth])
3260_cacheValid[(int)CacheSlot.MinimumWindowWidth] = true;
3285lock (_cacheValid)
3287while (!_cacheValid[(int)CacheSlot.MinimumWindowHeight])
3289_cacheValid[(int)CacheSlot.MinimumWindowHeight] = true;
3314lock (_cacheValid)
3316while (!_cacheValid[(int)CacheSlot.MinimizedWindowWidth])
3318_cacheValid[(int)CacheSlot.MinimizedWindowWidth] = true;
3343lock (_cacheValid)
3345while (!_cacheValid[(int)CacheSlot.MinimizedWindowHeight])
3347_cacheValid[(int)CacheSlot.MinimizedWindowHeight] = true;
3368lock (_cacheValid)
3370while (!_cacheValid[(int)CacheSlot.MinimizedGridWidth])
3372_cacheValid[(int)CacheSlot.MinimizedGridWidth] = true;
3393lock (_cacheValid)
3395while (!_cacheValid[(int)CacheSlot.MinimizedGridHeight])
3397_cacheValid[(int)CacheSlot.MinimizedGridHeight] = true;
3422lock (_cacheValid)
3424while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth])
3426_cacheValid[(int)CacheSlot.MinimumWindowTrackWidth] = true;
3451lock (_cacheValid)
3453while (!_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight])
3455_cacheValid[(int)CacheSlot.MinimumWindowTrackHeight] = true;
3476lock (_cacheValid)
3478while (!_cacheValid[(int)CacheSlot.PrimaryScreenWidth])
3480_cacheValid[(int)CacheSlot.PrimaryScreenWidth] = true;
3502lock (_cacheValid)
3504while(!_cacheValid[(int)CacheSlot.PrimaryScreenHeight])
3506_cacheValid[(int)CacheSlot.PrimaryScreenHeight] = true;
3531lock (_cacheValid)
3533while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth])
3535_cacheValid[(int)CacheSlot.WindowCaptionButtonWidth] = true;
3556lock (_cacheValid)
3558while (!_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight])
3560_cacheValid[(int)CacheSlot.WindowCaptionButtonHeight] = true;
3582lock (_cacheValid)
3584while (!_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight])
3586_cacheValid[(int)CacheSlot.ResizeFrameHorizontalBorderHeight] = true;
3607lock (_cacheValid)
3609while (!_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth])
3611_cacheValid[(int)CacheSlot.ResizeFrameVerticalBorderWidth] = true;
3632lock (_cacheValid)
3634while (!_cacheValid[(int)CacheSlot.SmallIconWidth])
3636_cacheValid[(int)CacheSlot.SmallIconWidth] = true;
3657lock (_cacheValid)
3659while (!_cacheValid[(int)CacheSlot.SmallIconHeight])
3661_cacheValid[(int)CacheSlot.SmallIconHeight] = true;
3682lock (_cacheValid)
3684while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth])
3686_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonWidth] = true;
3707lock (_cacheValid)
3709while (!_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight])
3711_cacheValid[(int)CacheSlot.SmallWindowCaptionButtonHeight] = true;
3736lock (_cacheValid)
3738while (!_cacheValid[(int)CacheSlot.VirtualScreenWidth])
3740_cacheValid[(int)CacheSlot.VirtualScreenWidth] = true;
3765lock (_cacheValid)
3767while (!_cacheValid[(int)CacheSlot.VirtualScreenHeight])
3769_cacheValid[(int)CacheSlot.VirtualScreenHeight] = true;
3791lock (_cacheValid)
3793while (!_cacheValid[(int)CacheSlot.VerticalScrollBarWidth])
3795_cacheValid[(int)CacheSlot.VerticalScrollBarWidth] = true;
3816lock (_cacheValid)
3818while (!_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight])
3820_cacheValid[(int)CacheSlot.VerticalScrollBarButtonHeight] = true;
3845lock (_cacheValid)
3847while (!_cacheValid[(int)CacheSlot.WindowCaptionHeight])
3849_cacheValid[(int)CacheSlot.WindowCaptionHeight] = true;
3875lock (_cacheValid)
3877while (!_cacheValid[(int)CacheSlot.KanjiWindowHeight])
3879_cacheValid[(int)CacheSlot.KanjiWindowHeight] = true;
3904lock (_cacheValid)
3906while (!_cacheValid[(int)CacheSlot.MenuBarHeight])
3908_cacheValid[(int)CacheSlot.MenuBarHeight] = true;
3929lock (_cacheValid)
3931while (!_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight])
3933_cacheValid[(int)CacheSlot.VerticalScrollBarThumbHeight] = true;
3958lock (_cacheValid)
3960while (!_cacheValid[(int)CacheSlot.IsImmEnabled])
3962_cacheValid[(int)CacheSlot.IsImmEnabled] = true;
3988lock (_cacheValid)
3990while (!_cacheValid[(int)CacheSlot.IsMediaCenter])
3992_cacheValid[(int)CacheSlot.IsMediaCenter] = true;
4013lock (_cacheValid)
4015while (!_cacheValid[(int)CacheSlot.IsMenuDropRightAligned])
4017_cacheValid[(int)CacheSlot.IsMenuDropRightAligned] = true;
4042lock (_cacheValid)
4044while (!_cacheValid[(int)CacheSlot.IsMiddleEastEnabled])
4046_cacheValid[(int)CacheSlot.IsMiddleEastEnabled] = true;
4067lock (_cacheValid)
4069while (!_cacheValid[(int)CacheSlot.IsMousePresent])
4071_cacheValid[(int)CacheSlot.IsMousePresent] = true;
4092lock (_cacheValid)
4094while (!_cacheValid[(int)CacheSlot.IsMouseWheelPresent])
4096_cacheValid[(int)CacheSlot.IsMouseWheelPresent] = true;
4121lock (_cacheValid)
4123while (!_cacheValid[(int)CacheSlot.IsPenWindows])
4125_cacheValid[(int)CacheSlot.IsPenWindows] = true;
4150lock (_cacheValid)
4152while (!_cacheValid[(int)CacheSlot.IsRemotelyControlled])
4154_cacheValid[(int)CacheSlot.IsRemotelyControlled] = true;
4179lock (_cacheValid)
4181while (!_cacheValid[(int)CacheSlot.IsRemoteSession])
4183_cacheValid[(int)CacheSlot.IsRemoteSession] = true;
4208lock (_cacheValid)
4210while (!_cacheValid[(int)CacheSlot.ShowSounds])
4212_cacheValid[(int)CacheSlot.ShowSounds] = true;
4237lock (_cacheValid)
4239while (!_cacheValid[(int)CacheSlot.IsSlowMachine])
4241_cacheValid[(int)CacheSlot.IsSlowMachine] = true;
4266lock (_cacheValid)
4268while (!_cacheValid[(int)CacheSlot.SwapButtons])
4270_cacheValid[(int)CacheSlot.SwapButtons] = true;
4295lock (_cacheValid)
4297while (!_cacheValid[(int)CacheSlot.IsTabletPC])
4299_cacheValid[(int)CacheSlot.IsTabletPC] = true;
4324lock (_cacheValid)
4326while (!_cacheValid[(int)CacheSlot.VirtualScreenLeft])
4328_cacheValid[(int)CacheSlot.VirtualScreenLeft] = true;
4353lock (_cacheValid)
4355while (!_cacheValid[(int)CacheSlot.VirtualScreenTop])
4357_cacheValid[(int)CacheSlot.VirtualScreenTop] = true;
5545lock (_cacheValid)
5547while (!_cacheValid[(int)CacheSlot.PowerLineStatus])
5549_cacheValid[(int)CacheSlot.PowerLineStatus] = true;
5558_cacheValid[(int)CacheSlot.PowerLineStatus] = false;
5652if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMousePresent))
5655if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMouseWheelPresent))
5668if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkAreaInternal))
5678if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WorkArea))
5681if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenWidth))
5684if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FullPrimaryScreenHeight))
5687if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenWidth))
5690if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximizedPrimaryScreenHeight))
5693if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenWidth))
5696if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PrimaryScreenHeight))
5699if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenWidth))
5702if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenHeight))
5705if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenLeft))
5708if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VirtualScreenTop))
5727if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.PowerLineStatus))
5744bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusBorderWidth);
5747if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusHorizontalBorderHeight))
5750if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FocusVerticalBorderWidth))
5774bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconMetrics);
5780if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth))
5783if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight))
5786if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth))
5789if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight))
5821bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuDropAlignment);
5823if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IsMenuDropRightAligned))
5872bool changed = SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.NonClientMetrics);
5877changed |= SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.Border);
5880if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinHorizontalBorderHeight))
5883if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThinVerticalBorderWidth))
5886if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorWidth))
5889if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.CursorHeight))
5892if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickHorizontalBorderHeight))
5895if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ThickVerticalBorderWidth))
5898if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameHorizontalBorderHeight))
5901if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.FixedFrameVerticalBorderWidth))
5904if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarButtonWidth))
5907if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarHeight))
5910if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.HorizontalScrollBarThumbWidth))
5913if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconWidth))
5916if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconHeight))
5919if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridWidth))
5922if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.IconGridHeight))
5925if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackWidth))
5928if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MaximumWindowTrackHeight))
5931if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkWidth))
5934if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuCheckmarkHeight))
5937if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonWidth))
5940if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuButtonHeight))
5943if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowWidth))
5946if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowHeight))
5949if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowWidth))
5952if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedWindowHeight))
5955if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridWidth))
5958if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimizedGridHeight))
5961if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackWidth))
5964if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MinimumWindowTrackHeight))
5967if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonWidth))
5970if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionButtonHeight))
5973if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameHorizontalBorderHeight))
5976if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.ResizeFrameVerticalBorderWidth))
5979if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconWidth))
5982if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallIconHeight))
5985if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonWidth))
5988if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.SmallWindowCaptionButtonHeight))
5991if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarWidth))
5994if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarButtonHeight))
5997if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.WindowCaptionHeight))
6000if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.MenuBarHeight))
6003if (SystemResources.ClearSlot(_cacheValid, (int)CacheSlot.VerticalScrollBarThumbHeight))
6092lock (_cacheValid)
6094while (!_cacheValid[(int)CacheSlot.IsGlassEnabled])
6096_cacheValid[(int)CacheSlot.IsGlassEnabled] = true;
6118lock (_cacheValid)
6120while (!_cacheValid[(int)CacheSlot.UxThemeName])
6122_cacheValid[(int)CacheSlot.UxThemeName] = true;
6157lock (_cacheValid)
6159while (!_cacheValid[(int)CacheSlot.UxThemeColor])
6161_cacheValid[(int)CacheSlot.UxThemeColor] = true;
6196lock (_cacheValid)
6198while (!_cacheValid[(int)CacheSlot.WindowCornerRadius])
6200_cacheValid[(int)CacheSlot.WindowCornerRadius] = true;
6258lock (_cacheValid)
6260while (!_cacheValid[(int)CacheSlot.WindowGlassColor])
6262_cacheValid[(int)CacheSlot.WindowGlassColor] = true;
6288lock (_cacheValid)
6290while (!_cacheValid[(int)CacheSlot.WindowGlassBrush])
6292_cacheValid[(int)CacheSlot.WindowGlassBrush] = true;
6316lock (_cacheValid)
6318while (!_cacheValid[(int)CacheSlot.WindowResizeBorderThickness])
6320_cacheValid[(int)CacheSlot.WindowResizeBorderThickness] = true;
6345lock (_cacheValid)
6347while (!_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness])
6349_cacheValid[(int)CacheSlot.WindowNonClientFrameThickness] = true;
6383lock (_cacheValid)
6406_cacheValid[(int)CacheSlot.DpiX] = true;