1 write to _system
System.Windows.Forms (1)
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
35
_system
= new SystemMenuItem();
22 references to _system
System.Windows.Forms (22)
System\Windows\Forms\MDI\MDIControlStrip.cs (22)
45
Items.AddRange(_minimize, _restore, _close,
_system
);
62
_system
.Image = GetTargetWindowIcon();
63
_system
.Visible = GetTargetWindowIconVisibility();
64
_system
.Alignment = ToolStripItemAlignment.Left;
65
_system
.DropDownOpening += OnSystemMenuDropDownOpening;
66
_system
.ImageScaling = ToolStripItemImageScaling.None;
67
_system
.DoubleClickEnabled = true;
68
_system
.DoubleClick += OnSystemMenuDoubleClick;
69
_system
.Padding = Padding.Empty;
70
_system
.ShortcutKeys = Keys.Alt | Keys.OemMinus;
90
_system
.Image = GetTargetWindowIcon();
91
_system
.Visible = GetTargetWindowIconVisibility();
111
_system
.SetNativeTargetWindow(_target);
117
_system
.SetNativeTargetMenu(hmenu);
123
if (
_system
.HasDropDownItems)
126
_system
.DropDown.Items.Clear();
127
_system
.DropDown.Dispose();
130
_system
.Image = GetTargetWindowIcon();
131
_system
.Visible = GetTargetWindowIconVisibility();
136
if (!
_system
.HasDropDownItems && (_target is not null))
138
_system
.DropDown = ToolStripDropDownMenu.FromHMenu(PInvoke.GetSystemMenu(GetSafeHandle(_target), bRevert: false), _target);
142
_system
.DropDown.Dispose();