1 write to system
System.Windows.Forms (1)
winforms\Managed\System\WinForms\MDIControlStrip.cs (1)
45system = new SystemMenuItem();
18 references to system
System.Windows.Forms (18)
winforms\Managed\System\WinForms\MDIControlStrip.cs (18)
55this.Items.AddRange(new ToolStripItem[] { minimize, restore,close, system }); 71system.Image = GetTargetWindowIcon(); 72system.Alignment = ToolStripItemAlignment.Left; 73system.DropDownOpening += new EventHandler(OnSystemMenuDropDownOpening); 74system.ImageScaling = ToolStripItemImageScaling.None; 75system.DoubleClickEnabled = true; 76system.DoubleClick += new EventHandler(OnSystemMenuDoubleClick); 77system.Padding = Padding.Empty; 78system.ShortcutKeys = Keys.Alt | Keys.OemMinus; 162system.SetNativeTargetWindow(target); 168system.SetNativeTargetMenu(hMenu); 174if (system.HasDropDownItems) { 176system.DropDown.Items.Clear(); 177system.DropDown.Dispose(); 180system.Image = GetTargetWindowIcon(); 184if (!system.HasDropDownItems && (target != null)) { 185system.DropDown = ToolStripDropDownMenu.FromHMenu(UnsafeNativeMethods.GetSystemMenu(new HandleRef(this, Control.GetSafeHandle(target)), /*bRevert=*/false), target); 188system.DropDown.Dispose();