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));
1485
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1504
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1544
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1569
if (DropDownStyle == ComboBoxStyle.Simple && m.HWnd ==
_childListBox
!.Handle)
1912
childWindow =
_childListBox
;
1957
if (
_childListBox
is not null && !
_childListBox
.HWND.IsNull)
1959
PInvoke.InvalidateRect(
_childListBox
, lpRect: null, bErase: false);
2058
return DropDownStyle == ComboBoxStyle.Simple ? new(
_childListBox
) : new(this, _dropDownHandle);
2063
return DropDownStyle == ComboBoxStyle.Simple ?
_childListBox
! : _childDropDown!;
2361
Debug.Assert(
_childListBox
is null, "Child listbox window already attached");
2363
bool ok = _childEdit is null &&
_childListBox
is null;
2374
_childListBox
.AssignHandle(hwnd);
3159
_childListBox
?.ReleaseHandle();
3867
&& hwndChild ==
_childListBox
?.HWND)