32 references to WindowsFormsHelper
UIAutomationClientsideProviders (32)
MS\Internal\AutomationProxies\Main.cs (1)
91
new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.
WindowsFormsHelper
.Create), "WindowsForms", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
166
if (
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\NonClientArea.cs (1)
129
if(hasNonClientControls ||
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\ProxyHwnd.cs (3)
172
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
174
string sPersistentID =
WindowsFormsHelper
.WindowsFormsID (_hwnd);
182
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
MS\Internal\AutomationProxies\ProxySimple.cs (3)
276
return
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd) ? "WinForm" : "Win32";
769
protected
WindowsFormsHelper
.FormControlState _windowsForms =
WindowsFormsHelper
.FormControlState.Undeterminate;
MS\Internal\AutomationProxies\WindowsButton.cs (8)
116
if (
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
118
return
WindowsFormsHelper
.CreateButton(hwnd);
269
if (!
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms) && IsStartButton())
410
if (hwndParent != IntPtr.Zero &&
WindowsFormsHelper
.IsWindowsFormsControl(hwndParent))
683
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
693
if (!
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
720
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
733
if (!
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\WindowsListBox.cs (4)
631
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd))
1086
if (_windowsForms ==
WindowsFormsHelper
.FormControlState.Undeterminate)
1088
_windowsForms =
WindowsFormsHelper
.GetControlState(_hwnd);
1091
if (_windowsForms ==
WindowsFormsHelper
.FormControlState.True)
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
190
if (Misc.IsBitSet(WindowStyle, NativeMethods.ES_NUMBER) && !
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd))
MS\Internal\AutomationProxies\WindowsStatic.cs (1)
83
if (
WindowsFormsHelper
.IsWindowsFormsControl(className))
MS\Internal\AutomationProxies\WindowsStatusBar.cs (3)
79
bool isWinforms =
WindowsFormsHelper
.IsWindowsFormsControl(hwnd);
80
ProxySimple el = isWinforms ? (ProxySimple)
WindowsFormsHelper
.Create(hwnd, 0, idObject) : (ProxySimple)Create(hwnd, 0);
572
if( !
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\WindowsTab.cs (5)
43
_windowsForms =
WindowsFormsHelper
.GetControlState (hwnd);
677
return new WindowsTabItem(_hwnd, this, index, _windowsForms ==
WindowsFormsHelper
.FormControlState.True);
955
if (idProp == AutomationElement.AccessKeyProperty && _windowsForms !=
WindowsFormsHelper
.FormControlState.True)
983
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
992
return GetName(_hwnd, _item, _windowsForms ==
WindowsFormsHelper
.FormControlState.True);
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
139
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd) && IsWinformUpdown(_hwnd))