4 writes to _target
System.Windows.Forms (4)
System\Windows\Forms\MDI\MDIControlStrip.cs (4)
27
_target
= target;
103
_target
= null!;
156
_target
= null!;
172
_target
= null!;
12 references to _target
System.Windows.Forms (12)
System\Windows\Forms\MDI\MDIControlStrip.cs (12)
80
HICON hIcon = (HICON)PInvokeCore.SendMessage(GetSafeHandle(
_target
), PInvokeCore.WM_GETICON, (WPARAM)PInvoke.ICON_SMALL);
86
private bool GetTargetWindowIconVisibility() =>
_target
is not Form formTarget || formTarget.ShowIcon;
111
_system.SetNativeTargetWindow(
_target
);
112
_minimize.SetNativeTargetWindow(
_target
);
113
_close.SetNativeTargetWindow(
_target
);
114
_restore.SetNativeTargetWindow(
_target
);
116
HMENU hmenu = PInvoke.GetSystemMenu(GetSafeHandle(
_target
), bRevert: false);
136
if (!_system.HasDropDownItems && (
_target
is not null))
138
_system.DropDown = ToolStripDropDownMenu.FromHMenu(PInvoke.GetSystemMenu(GetSafeHandle(
_target
), bRevert: false),
_target
);
164
if (
_target
is not null)
166
if (
_target
is Control controlTarget)