6 writes to _localResources
PresentationFramework.Aero2 (6)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
110
chrome.
_localResources
= new LocalResources();
164
chrome.
_localResources
= null;
201
chrome.
_localResources
= new LocalResources();
255
chrome.
_localResources
= null;
290
chrome.
_localResources
= new LocalResources();
354
chrome.
_localResources
= null;
30 references to _localResources
PresentationFramework.Aero2 (30)
Microsoft\Windows\Themes\ButtonChrome.cs (30)
108
if (chrome.
_localResources
== null)
136
else if (chrome.
_localResources
== null)
199
if (chrome.
_localResources
== null)
212
else if (chrome.
_localResources
== null)
288
if (chrome.
_localResources
== null)
320
else if (chrome.
_localResources
== null)
780
if (
_localResources
!= null)
782
if (
_localResources
.BackgroundOverlay == null)
784
_localResources
.BackgroundOverlay = CommonHoverBackgroundOverlay.Clone();
785
_localResources
.BackgroundOverlay.Opacity = 0;
787
return
_localResources
.BackgroundOverlay;
895
if (
_localResources
!= null)
897
if (
_localResources
.BorderOverlayPen == null)
899
_localResources
.BorderOverlayPen = CommonHoverBorderOverlay.Clone();
900
_localResources
.BorderOverlayPen.Brush.Opacity = 0;
902
return
_localResources
.BorderOverlayPen;
992
if (
_localResources
!= null)
994
if (
_localResources
.InnerBorderPen == null)
996
_localResources
.InnerBorderPen = CommonInnerBorderPen.Clone();
998
return
_localResources
.InnerBorderPen;
1055
if (
_localResources
!= null)
1057
if (
_localResources
.LeftDropShadowBrush == null)
1059
_localResources
.LeftDropShadowBrush = CommonPressedLeftDropShadowBrush.Clone();
1060
_localResources
.LeftDropShadowBrush.Opacity = 0;
1062
return
_localResources
.LeftDropShadowBrush;
1117
if (
_localResources
!= null)
1119
if (
_localResources
.TopDropShadowBrush == null)
1121
_localResources
.TopDropShadowBrush = CommonPressedTopDropShadowBrush.Clone();
1122
_localResources
.TopDropShadowBrush.Opacity = 0;
1124
return
_localResources
.TopDropShadowBrush;