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)
228
if (
_nativeMenuCommandID
!= -1)
585
if (
_nativeMenuCommandID
== -1 || _nativeMenuHandle == IntPtr.Zero)
595
wID = (uint)
_nativeMenuCommandID
598
PInvoke.GetMenuItemInfo(_nativeMenuHandle, (uint)
_nativeMenuCommandID
, fByPosition: false, ref info);
605
if (
_nativeMenuCommandID
== -1 || _nativeMenuHandle == IntPtr.Zero)
618
wID = (uint)
_nativeMenuCommandID
621
PInvoke.GetMenuItemInfo(_nativeMenuHandle, (uint)
_nativeMenuCommandID
, fByPosition: false, ref info);
627
info.wID = (uint)
_nativeMenuCommandID
;
633
PInvoke.GetMenuItemInfo(_nativeMenuHandle, (uint)
_nativeMenuCommandID
, fByPosition: false, ref info);
657
if (
_nativeMenuCommandID
== -1 || _nativeMenuHandle.IsNull)
667
wID = (uint)
_nativeMenuCommandID
670
PInvoke.GetMenuItemInfo(_nativeMenuHandle, (uint)
_nativeMenuCommandID
, fByPosition: false, ref info);
770
if (
_nativeMenuCommandID
== -1)
776
if ((
_nativeMenuCommandID
& 0xF000) != 0)
783
PInvokeCore.PostMessage(_targetWindowHandle, PInvokeCore.WM_SYSCOMMAND, (WPARAM)(uint)
_nativeMenuCommandID
);
790
PInvokeCore.PostMessage(_targetWindowHandle, PInvokeCore.WM_COMMAND, (WPARAM)(uint)
_nativeMenuCommandID
);