32 references to WindowsFormsHelper
UIAutomationClientSideProviders (32)
MS\Internal\AutomationProxies\Main.cs (1)
79
new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.
WindowsFormsHelper
.Create), "WindowsForms", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
152
if (
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\NonClientArea.cs (1)
121
if(hasNonClientControls ||
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\ProxyHwnd.cs (3)
151
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
153
string sPersistentID =
WindowsFormsHelper
.WindowsFormsID (_hwnd);
161
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
MS\Internal\AutomationProxies\ProxySimple.cs (3)
258
return
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd) ? "WinForm" : "Win32";
750
protected
WindowsFormsHelper
.FormControlState _windowsForms =
WindowsFormsHelper
.FormControlState.Undeterminate;
MS\Internal\AutomationProxies\WindowsButton.cs (8)
99
if (
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
101
return
WindowsFormsHelper
.CreateButton(hwnd);
252
if (!
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms) && IsStartButton())
390
if (hwndParent != IntPtr.Zero &&
WindowsFormsHelper
.IsWindowsFormsControl(hwndParent))
663
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
673
if (!
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
700
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
713
if (!
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\WindowsListBox.cs (4)
609
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd))
1064
if (_windowsForms ==
WindowsFormsHelper
.FormControlState.Undeterminate)
1066
_windowsForms =
WindowsFormsHelper
.GetControlState(_hwnd);
1069
if (_windowsForms ==
WindowsFormsHelper
.FormControlState.True)
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
173
if (Misc.IsBitSet(WindowStyle, NativeMethods.ES_NUMBER) && !
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd))
MS\Internal\AutomationProxies\WindowsStatic.cs (1)
71
if (
WindowsFormsHelper
.IsWindowsFormsControl(className))
MS\Internal\AutomationProxies\WindowsStatusBar.cs (3)
64
bool isWinforms =
WindowsFormsHelper
.IsWindowsFormsControl(hwnd);
65
ProxySimple el = isWinforms ? (ProxySimple)
WindowsFormsHelper
.Create(hwnd, 0, idObject) : (ProxySimple)Create(hwnd, 0);
558
if( !
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\WindowsTab.cs (5)
42
_windowsForms =
WindowsFormsHelper
.GetControlState (hwnd);
671
return new WindowsTabItem(_hwnd, this, index, _windowsForms ==
WindowsFormsHelper
.FormControlState.True);
949
if (idProp == AutomationElement.AccessKeyProperty && _windowsForms !=
WindowsFormsHelper
.FormControlState.True)
977
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
986
return GetName(_hwnd, _item, _windowsForms ==
WindowsFormsHelper
.FormControlState.True);
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
118
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd) && IsWinformUpdown(_hwnd))