6 instantiations of BeginPaintScope
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
11826
using var paintScope = usingBeginPaint ? new
BeginPaintScope
(HWND) : default;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
3748
using var paintScope = useBeginPaint ? new
BeginPaintScope
(HWND) : default;
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
958
using BeginPaintScope paintScope =
new
(HWND);
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
187
using BeginPaintScope hdc =
new
(HWND);
System\Windows\Forms\ToolTip\ToolTip.cs (1)
2317
using BeginPaintScope paintScope =
new
(HWND);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.cs (1)
2099
using BeginPaintScope scope =
new
(m.HWND);
7 references to BeginPaintScope
System.Private.Windows.Core (1)
Windows\Win32\Graphics\Gdi\BeginPaintScope.cs (1)
35
public static implicit operator HDC(in
BeginPaintScope
scope) => scope.HDC;
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
11826
using
var
paintScope = usingBeginPaint ? new BeginPaintScope(HWND) : default;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
3748
using
var
paintScope = useBeginPaint ? new BeginPaintScope(HWND) : default;
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
958
using
BeginPaintScope
paintScope = new(HWND);
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
187
using
BeginPaintScope
hdc = new(HWND);
System\Windows\Forms\ToolTip\ToolTip.cs (1)
2317
using
BeginPaintScope
paintScope = new(HWND);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.cs (1)
2099
using
BeginPaintScope
scope = new(m.HWND);