2 writes to _childEdit
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2380_childEdit = new ComboBoxChildNativeWindow(this, ChildWindowType.Edit); 3157_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)
311new ComboBoxChildEditUiaProvider(this, _childEdit!.HWND); 590&& ((_childEdit is not null && focus == _childEdit.Handle) || (_childListBox is not null && focus == _childListBox.Handle)); 1044if (IsHandleCreated && _childEdit is not null) 1046PInvokeCore.SendMessage(_childEdit, PInvokeCore.EM_REPLACESEL, (WPARAM)(-1), value ?? string.Empty); 1458if (_childEdit is null) 1467PInvokeCore.GetWindowRect(_childEdit, out var editRectMid); 1644if (!DesignMode && _childEdit is not null && m.HWnd == _childEdit.Handle) 1661if (_childEdit is not null && m.HWnd == _childEdit.Handle) 1837if (Cursor != DefaultCursor && _childEdit is not null 1838&& m.HWnd == _childEdit.Handle && PARAM.LOWORD(m.LParamInternal) == (int)PInvoke.HTCLIENT) 1876if (IsAccessibilityObjectCreated && _childEdit is not null && ChildEditAccessibleObject.Bounds.Contains(PointToScreen(e.Location))) 1899if (_childEdit is not null) 1902if (m.HWnd == _childEdit.Handle) 1904childWindow = _childEdit; 1952if (_childEdit is not null && !_childEdit.HWND.IsNull) 1954PInvoke.InvalidateRect(_childEdit, lpRect: null, bErase: false); 2360Debug.Assert(_childEdit is null, "Child edit window already attached"); 2363bool ok = _childEdit is null && _childListBox is null; 2381_childEdit.AssignHandle(hwnd); 2384PInvokeCore.SendMessage(_childEdit, PInvokeCore.EM_SETMARGINS, (WPARAM)(PInvoke.EC_LEFTMARGIN | PInvoke.EC_RIGHTMARGIN)); 2594if (IsAccessibilityObjectCreated && _childEdit is not null && ContainsNavigationKeyCode(e.KeyCode)) 2712if (_childEdit is not null) 2885if (IsAccessibilityObjectCreated && _childEdit is not null) 3006else if (_childEdit is not null && _childEdit.Handle != 0) 3011_childEdit, 3156_childEdit?.ReleaseHandle(); 3212if (!IsHandleCreated || _childEdit is null) 3222_childEdit, 3249_childEdit, 3258if (!_stringSource.Bind(_childEdit, (AUTOCOMPLETEOPTIONS)AutoCompleteMode)) 3278_childEdit, 3292_childEdit, 3301if (!_stringSource.Bind(_childEdit, (AUTOCOMPLETEOPTIONS)AutoCompleteMode)) 3331PInvoke.SHAutoComplete(_childEdit.HWND, (SHELL_AUTOCOMPLETE_FLAGS)AutoCompleteSource | mode); 3546if (_childEdit is not null && !_childEdit.HWND.IsNull) 3548PInvokeCore.SendMessage(_childEdit, PInvokeCore.WM_SETTEXT, 0, s); 3828if (hwndChild == _childEdit?.HWND && Application.IsDarkModeEnabled) 3848if (hwndChild == _childEdit?.HWND