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)
80HICON hIcon = (HICON)PInvokeCore.SendMessage(GetSafeHandle(_target), PInvokeCore.WM_GETICON, (WPARAM)PInvoke.ICON_SMALL); 86private 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); 116HMENU hmenu = PInvoke.GetSystemMenu(GetSafeHandle(_target), bRevert: false); 136if (!_system.HasDropDownItems && (_target is not null)) 138_system.DropDown = ToolStripDropDownMenu.FromHMenu(PInvoke.GetSystemMenu(GetSafeHandle(_target), bRevert: false), _target); 164if (_target is not null) 166if (_target is Control controlTarget)