13 references to SetFocus
System.Windows.Forms (13)
winforms\Managed\System\WinForms\Application.cs (1)
4318
UnsafeNativeMethods.
SetFocus
(new HandleRef(null, focusedHwnd));
winforms\Managed\System\WinForms\CommonDialog.cs (2)
155
UnsafeNativeMethods.
SetFocus
(new HandleRef(null, wparam));
165
UnsafeNativeMethods.
SetFocus
(new HandleRef(this, defaultControlHwnd));
winforms\Managed\System\WinForms\ContainerControl.cs (2)
679
UnsafeNativeMethods.
SetFocus
(new HandleRef(activeControl, activeControl.Handle));
698
UnsafeNativeMethods.
SetFocus
(new HandleRef(cc, cc.Handle));
winforms\Managed\System\WinForms\Control.cs (1)
6370
UnsafeNativeMethods.
SetFocus
(new HandleRef(this, Handle));
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
1330
UnsafeNativeMethods.
SetFocus
(new HandleRef(null, IntPtr.Zero));
winforms\Managed\System\WinForms\FileDialog.cs (1)
925
UnsafeNativeMethods.
SetFocus
(new HandleRef(null, focusHandle));
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
3842
UnsafeNativeMethods.
SetFocus
(new HandleRef(null, hWndParent));
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
998
gotfocus = IntPtr.Zero != UnsafeNativeMethods.
SetFocus
(new HandleRef(this, Handle));
4945
UnsafeNativeMethods.
SetFocus
(new HandleRef(null, priorFocus));
winforms\Managed\System\WinForms\ToolStrip.cs (1)
4127
UnsafeNativeMethods.
SetFocus
(NativeMethods.NullHandleRef);
winforms\Managed\System\WinForms\UpDownBase.cs (1)
1225
UnsafeNativeMethods.
SetFocus
(new HandleRef(TextBox, TextBox.Handle));