2 writes to _childEdit
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2298
_childEdit
= new ComboBoxChildNativeWindow(this, ChildWindowType.Edit);
3048
_childEdit
= null;
45 references to _childEdit
System.Windows.Forms (45)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (1)
37
_owningChildEdit = owner.
_childEdit
!;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (44)
298
_childEditAccessibleObject ??= new ComboBoxChildEditUiaProvider(this,
_childEdit
!.HWND);
529
&& ((
_childEdit
is not null && focus ==
_childEdit
.Handle) || (_childListBox is not null && focus == _childListBox.Handle));
954
if (IsHandleCreated &&
_childEdit
is not null)
956
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.EM_REPLACESEL, (WPARAM)(-1), value ?? string.Empty);
1368
if (
_childEdit
is null)
1377
PInvokeCore.GetWindowRect(
_childEdit
, out var editRectMid);
1554
if (!DesignMode &&
_childEdit
is not null && m.HWnd ==
_childEdit
.Handle)
1571
if (
_childEdit
is not null && m.HWnd ==
_childEdit
.Handle)
1574
_childEdit
,
1750
if (Cursor != DefaultCursor &&
_childEdit
is not null
1751
&& m.HWnd ==
_childEdit
.Handle && PARAM.LOWORD(m.LParamInternal) == (int)PInvoke.HTCLIENT)
1789
if (IsAccessibilityObjectCreated &&
_childEdit
is not null && ChildEditAccessibleObject.Bounds.Contains(PointToScreen(e.Location)))
1812
if (
_childEdit
is not null)
1815
if (m.HWnd ==
_childEdit
.Handle)
1817
childWindow =
_childEdit
;
1870
if (
_childEdit
is not null && !
_childEdit
.HWND.IsNull)
1872
PInvoke.InvalidateRect(
_childEdit
, lpRect: null, bErase: false);
2278
Debug.Assert(
_childEdit
is null, "Child edit window already attached");
2281
bool ok =
_childEdit
is null && _childListBox is null;
2299
_childEdit
.AssignHandle(hwnd);
2302
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.EM_SETMARGINS, (WPARAM)(PInvoke.EC_LEFTMARGIN | PInvoke.EC_RIGHTMARGIN));
2491
if (IsAccessibilityObjectCreated &&
_childEdit
is not null && ContainsNavigationKeyCode(e.KeyCode))
2609
if (
_childEdit
is not null)
2777
if (IsAccessibilityObjectCreated &&
_childEdit
is not null)
2895
else if (
_childEdit
is not null &&
_childEdit
.Handle != 0)
2900
_childEdit
,
3045
if (
_childEdit
is not null)
3047
_childEdit
.ReleaseHandle();
3110
if (!IsHandleCreated ||
_childEdit
is null)
3120
_childEdit
,
3147
_childEdit
,
3156
if (!_stringSource.Bind(
_childEdit
, (AUTOCOMPLETEOPTIONS)AutoCompleteMode))
3176
_childEdit
,
3190
_childEdit
,
3199
if (!_stringSource.Bind(
_childEdit
, (AUTOCOMPLETEOPTIONS)AutoCompleteMode))
3229
PInvoke.SHAutoComplete(
_childEdit
.HWND, (SHELL_AUTOCOMPLETE_FLAGS)AutoCompleteSource | mode);
3442
if (
_childEdit
is not null && !
_childEdit
.HWND.IsNull)
3444
PInvokeCore.SendMessage(
_childEdit
, PInvokeCore.WM_SETTEXT, 0, s);