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