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)
45Items.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); 123if (_system.HasDropDownItems) 126_system.DropDown.Items.Clear(); 127_system.DropDown.Dispose(); 130_system.Image = GetTargetWindowIcon(); 131_system.Visible = GetTargetWindowIconVisibility(); 136if (!_system.HasDropDownItems && (_target is not null)) 138_system.DropDown = ToolStripDropDownMenu.FromHMenu(PInvoke.GetSystemMenu(GetSafeHandle(_target), bRevert: false), _target); 142_system.DropDown.Dispose();