12 references to s_acWindows
System.Windows.Forms (12)
System\Windows\Forms\Controls\ComboBox\ComboBox.ACNativeWindow.cs (12)
20
Debug.Assert(!
s_acWindows
.ContainsKey(acHandle));
22
s_acWindows
.Add(acHandle, this);
28
if (!
s_acWindows
.ContainsKey(handle))
47
foreach (ACNativeWindow? window in
s_acWindows
.Values)
73
Debug.Assert(
s_acWindows
.ContainsKey(HWND));
74
s_acWindows
.Remove(HWND); // so we do not leak ac windows.
80
if (subclass &&
s_acWindows
.TryGetValue(acHandle, out ACNativeWindow? value))
84
s_acWindows
.Remove(acHandle); // if an external handle got destroyed, don't let it stop us.
88
if (!
s_acWindows
.ContainsKey(acHandle))
96
s_acWindows
.Add(acHandle, null);
108
foreach (var acNativeWindowByHandle in
s_acWindows
)
118
s_acWindows
.Remove(handle);