2 writes to _childListBox
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2373_childListBox = new ComboBoxChildNativeWindow(this, ChildWindowType.ListBox); 3160_childListBox = null;
18 references to _childListBox
System.Windows.Forms (18)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (18)
325? _childListBox!.HWND 590&& ((_childEdit is not null && focus == _childEdit.Handle) || (_childListBox is not null && focus == _childListBox.Handle)); 1485if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1504if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1544if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1569if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd == _childListBox!.Handle) 1912childWindow = _childListBox; 1957if (_childListBox is not null && !_childListBox.HWND.IsNull) 1959PInvoke.InvalidateRect(_childListBox, lpRect: null, bErase: false); 2058return DropDownStyle == ComboBoxStyle.Simple ? new(_childListBox) : new(this, _dropDownHandle); 2063return DropDownStyle == ComboBoxStyle.Simple ? _childListBox! : _childDropDown!; 2361Debug.Assert(_childListBox is null, "Child listbox window already attached"); 2363bool ok = _childEdit is null && _childListBox is null; 2374_childListBox.AssignHandle(hwnd); 3159_childListBox?.ReleaseHandle(); 3867&& hwndChild == _childListBox?.HWND)