4 writes to target
System.Windows.Forms (4)
winforms\Managed\System\WinForms\MDIControlStrip.cs (4)
37this.target = target; 154target = null; 199target = null; 211target = null;
11 references to target
System.Windows.Forms (11)
winforms\Managed\System\WinForms\MDIControlStrip.cs (11)
131IntPtr hIcon = UnsafeNativeMethods.SendMessage(new HandleRef(this, Control.GetSafeHandle(target)), NativeMethods.WM_GETICON, NativeMethods.ICON_SMALL, 0); 162system.SetNativeTargetWindow(target); 163minimize.SetNativeTargetWindow(target); 164close.SetNativeTargetWindow(target); 165restore.SetNativeTargetWindow(target); 167IntPtr hMenu= UnsafeNativeMethods.GetSystemMenu(new HandleRef(this, Control.GetSafeHandle(target)), /*bRevert=*/false); 184if (!system.HasDropDownItems && (target != null)) { 185system.DropDown = ToolStripDropDownMenu.FromHMenu(UnsafeNativeMethods.GetSystemMenu(new HandleRef(this, Control.GetSafeHandle(target)), /*bRevert=*/false), target); 205if (target != null) { 206Control controlTarget = target as Control;