1 write to _nativeMenuCommandID
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
122_nativeMenuCommandID = nativeMenuCommandId;
16 references to _nativeMenuCommandID
System.Windows.Forms (16)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (16)
228if (_nativeMenuCommandID != -1) 590if (_nativeMenuCommandID == -1 || _nativeMenuHandle == IntPtr.Zero) 600wID = (uint)_nativeMenuCommandID 603PInvoke.GetMenuItemInfo(_nativeMenuHandle, (uint)_nativeMenuCommandID, fByPosition: false, ref info); 610if (_nativeMenuCommandID == -1 || _nativeMenuHandle == IntPtr.Zero) 623wID = (uint)_nativeMenuCommandID 626PInvoke.GetMenuItemInfo(_nativeMenuHandle, (uint)_nativeMenuCommandID, fByPosition: false, ref info); 632info.wID = (uint)_nativeMenuCommandID; 638PInvoke.GetMenuItemInfo(_nativeMenuHandle, (uint)_nativeMenuCommandID, fByPosition: false, ref info); 662if (_nativeMenuCommandID == -1 || _nativeMenuHandle.IsNull) 672wID = (uint)_nativeMenuCommandID 675PInvoke.GetMenuItemInfo(_nativeMenuHandle, (uint)_nativeMenuCommandID, fByPosition: false, ref info); 775if (_nativeMenuCommandID == -1) 781if ((_nativeMenuCommandID & 0xF000) != 0) 788PInvoke.PostMessage(_targetWindowHandle, PInvoke.WM_SYSCOMMAND, (WPARAM)(uint)_nativeMenuCommandID); 795PInvoke.PostMessage(_targetWindowHandle, PInvoke.WM_COMMAND, (WPARAM)(uint)_nativeMenuCommandID);