34 references to ThemingScope
System.Windows.Forms (34)
winforms\Managed\System\WinForms\Application.cs (3)
1066useVisualStyles = UnsafeNativeMethods.ThemingScope.CreateActivationContext(assemblyFileName, nativeResourceID); 3344userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 3351UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\CommonDialog.cs (2)
307userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 323UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\Control.cs (2)
5797userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 5832UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\DateTimePicker.cs (2)
1126IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 1134UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\ImageList.cs (2)
540IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 547UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\ImageListStreamer.cs (2)
63IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 77UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\ListView.cs (2)
2453IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 2461UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\MessageBox.cs (2)
478userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 488UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\MonthCalendar.cs (2)
1366IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 1373UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\ProgressBar.cs (2)
741IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 748UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\StatusBar.cs (2)
634IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 642UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\TabControl.cs (2)
1104IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 1111UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\ToolBar.cs (2)
1051IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 1058UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\ToolTip.cs (2)
878IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 893UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\TrackBar.cs (2)
857IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 863UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\TreeView.cs (2)
1656IntPtr userCookie = UnsafeNativeMethods.ThemingScope.Activate(); 1662UnsafeNativeMethods.ThemingScope.Deactivate(userCookie);
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
8198lock (typeof(ThemingScope))