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)); 954if (IsHandleCreated && _childEdit is not null) 956PInvokeCore.SendMessage(_childEdit, PInvokeCore.EM_REPLACESEL, (WPARAM)(-1), value ?? string.Empty); 1368if (_childEdit is null) 1377PInvokeCore.GetWindowRect(_childEdit, out var editRectMid); 1554if (!DesignMode && _childEdit is not null && m.HWnd == _childEdit.Handle) 1571if (_childEdit is not null && m.HWnd == _childEdit.Handle) 1574_childEdit, 1750if (Cursor != DefaultCursor && _childEdit is not null 1751&& m.HWnd == _childEdit.Handle && PARAM.LOWORD(m.LParamInternal) == (int)PInvoke.HTCLIENT) 1789if (IsAccessibilityObjectCreated && _childEdit is not null && ChildEditAccessibleObject.Bounds.Contains(PointToScreen(e.Location))) 1812if (_childEdit is not null) 1815if (m.HWnd == _childEdit.Handle) 1817childWindow = _childEdit; 1870if (_childEdit is not null && !_childEdit.HWND.IsNull) 1872PInvoke.InvalidateRect(_childEdit, lpRect: null, bErase: false); 2278Debug.Assert(_childEdit is null, "Child edit window already attached"); 2281bool ok = _childEdit is null && _childListBox is null; 2299_childEdit.AssignHandle(hwnd); 2302PInvokeCore.SendMessage(_childEdit, PInvokeCore.EM_SETMARGINS, (WPARAM)(PInvoke.EC_LEFTMARGIN | PInvoke.EC_RIGHTMARGIN)); 2491if (IsAccessibilityObjectCreated && _childEdit is not null && ContainsNavigationKeyCode(e.KeyCode)) 2609if (_childEdit is not null) 2777if (IsAccessibilityObjectCreated && _childEdit is not null) 2895else if (_childEdit is not null && _childEdit.Handle != 0) 2900_childEdit, 3045if (_childEdit is not null) 3047_childEdit.ReleaseHandle(); 3110if (!IsHandleCreated || _childEdit is null) 3120_childEdit, 3147_childEdit, 3156if (!_stringSource.Bind(_childEdit, (AUTOCOMPLETEOPTIONS)AutoCompleteMode)) 3176_childEdit, 3190_childEdit, 3199if (!_stringSource.Bind(_childEdit, (AUTOCOMPLETEOPTIONS)AutoCompleteMode)) 3229PInvoke.SHAutoComplete(_childEdit.HWND, (SHELL_AUTOCOMPLETE_FLAGS)AutoCompleteSource | mode); 3442if (_childEdit is not null && !_childEdit.HWND.IsNull) 3444PInvokeCore.SendMessage(_childEdit, PInvokeCore.WM_SETTEXT, 0, s);