2 writes to _childEdit
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2296_childEdit = new ComboBoxChildNativeWindow(this, ChildWindowType.Edit); 3039_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)
303_childEditAccessibleObject ??= new ComboBoxChildEditUiaProvider(this, _childEdit!.HWND); 534&& ((_childEdit is not null && focus == _childEdit.Handle) || (_childListBox is not null && focus == _childListBox.Handle)); 959if (IsHandleCreated && _childEdit is not null) 961PInvokeCore.SendMessage(_childEdit, PInvokeCore.EM_REPLACESEL, (WPARAM)(-1), value ?? string.Empty); 1373if (_childEdit is null) 1382PInvokeCore.GetWindowRect(_childEdit, out var editRectMid); 1559if (!DesignMode && _childEdit is not null && m.HWnd == _childEdit.Handle) 1576if (_childEdit is not null && m.HWnd == _childEdit.Handle) 1579_childEdit, 1755if (Cursor != DefaultCursor && _childEdit is not null 1756&& m.HWnd == _childEdit.Handle && PARAM.LOWORD(m.LParamInternal) == (int)PInvoke.HTCLIENT) 1794if (IsAccessibilityObjectCreated && _childEdit is not null && ChildEditAccessibleObject.Bounds.Contains(PointToScreen(e.Location))) 1817if (_childEdit is not null) 1820if (m.HWnd == _childEdit.Handle) 1822childWindow = _childEdit; 1868if (_childEdit is not null && !_childEdit.HWND.IsNull) 1870PInvoke.InvalidateRect(_childEdit, lpRect: null, bErase: false); 2276Debug.Assert(_childEdit is null, "Child edit window already attached"); 2279bool ok = _childEdit is null && _childListBox is null; 2297_childEdit.AssignHandle(hwnd); 2300PInvokeCore.SendMessage(_childEdit, PInvokeCore.EM_SETMARGINS, (WPARAM)(PInvoke.EC_LEFTMARGIN | PInvoke.EC_RIGHTMARGIN)); 2484if (IsAccessibilityObjectCreated && _childEdit is not null && ContainsNavigationKeyCode(e.KeyCode)) 2602if (_childEdit is not null) 2770if (IsAccessibilityObjectCreated && _childEdit is not null) 2888else if (_childEdit is not null && _childEdit.Handle != 0) 2893_childEdit, 3038_childEdit?.ReleaseHandle(); 3094if (!IsHandleCreated || _childEdit is null) 3104_childEdit, 3131_childEdit, 3140if (!_stringSource.Bind(_childEdit, (AUTOCOMPLETEOPTIONS)AutoCompleteMode)) 3160_childEdit, 3174_childEdit, 3183if (!_stringSource.Bind(_childEdit, (AUTOCOMPLETEOPTIONS)AutoCompleteMode)) 3213PInvoke.SHAutoComplete(_childEdit.HWND, (SHELL_AUTOCOMPLETE_FLAGS)AutoCompleteSource | mode); 3426if (_childEdit is not null && !_childEdit.HWND.IsNull) 3428PInvokeCore.SendMessage(_childEdit, PInvokeCore.WM_SETTEXT, 0, s); 3666if (hwndChild == _childEdit?.HWND && Application.IsDarkModeEnabled)