32 references to WindowsFormsHelper
UIAutomationClientSideProviders (32)
MS\Internal\AutomationProxies\Main.cs (1)
80
new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.
WindowsFormsHelper
.Create), "WindowsForms", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
156
if (
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\NonClientArea.cs (1)
128
if(hasNonClientControls ||
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\ProxyHwnd.cs (3)
156
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
158
string sPersistentID =
WindowsFormsHelper
.WindowsFormsID (_hwnd);
166
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
MS\Internal\AutomationProxies\ProxySimple.cs (3)
265
return
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd) ? "WinForm" : "Win32";
758
protected
WindowsFormsHelper
.FormControlState _windowsForms =
WindowsFormsHelper
.FormControlState.Undeterminate;
MS\Internal\AutomationProxies\WindowsButton.cs (8)
100
if (
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
102
return
WindowsFormsHelper
.CreateButton(hwnd);
253
if (!
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms) && IsStartButton())
394
if (hwndParent != IntPtr.Zero &&
WindowsFormsHelper
.IsWindowsFormsControl(hwndParent))
667
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
677
if (!
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
704
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
717
if (!
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\WindowsListBox.cs (4)
619
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd))
1074
if (_windowsForms ==
WindowsFormsHelper
.FormControlState.Undeterminate)
1076
_windowsForms =
WindowsFormsHelper
.GetControlState(_hwnd);
1079
if (_windowsForms ==
WindowsFormsHelper
.FormControlState.True)
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
174
if (Misc.IsBitSet(WindowStyle, NativeMethods.ES_NUMBER) && !
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd))
MS\Internal\AutomationProxies\WindowsStatic.cs (1)
72
if (
WindowsFormsHelper
.IsWindowsFormsControl(className))
MS\Internal\AutomationProxies\WindowsStatusBar.cs (3)
65
bool isWinforms =
WindowsFormsHelper
.IsWindowsFormsControl(hwnd);
66
ProxySimple el = isWinforms ? (ProxySimple)
WindowsFormsHelper
.Create(hwnd, 0, idObject) : (ProxySimple)Create(hwnd, 0);
558
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)
122
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd) && IsWinformUpdown(_hwnd))