2 writes to code
System.Windows.Forms (2)
winforms\Managed\System\WinForms\RichTextBox.cs (2)
3561es.nmhdr.code = Marshal.ReadInt32((IntPtr)(es64p + 16)); 3581es.nmhdr.code = Marshal.ReadInt32((IntPtr)(es64p + 16));
45 references to code
System.Windows.Forms (45)
winforms\Managed\System\WinForms\Control.cs (2)
13585if(nmhdr->code == NativeMethods.TTN_SHOW) { 13589if(nmhdr->code == NativeMethods.TTN_POP) {
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
29931if (nmhdr->code == NativeMethods.TTN_GETDISPINFO && !DesignMode)
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1665switch (nmhdr.code) {
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
852if (nmh.code == NativeMethods.NM_CUSTOMDRAW) {
winforms\Managed\System\WinForms\ErrorProvider.cs (3)
1291if (nmhdr.code == NativeMethods.TTN_SHOW || nmhdr.code == NativeMethods.TTN_POP) 1293OnToolTipVisibilityChanging(nmhdr.idFrom, nmhdr.code == NativeMethods.TTN_SHOW);
winforms\Managed\System\WinForms\ListView.cs (19)
5456if (nmhdr->code == NativeMethods.NM_CUSTOMDRAW && OwnerDraw) 5518if (nmhdr->code == NativeMethods.NM_RELEASEDCAPTURE && listViewState[LISTVIEWSTATE_columnClicked]) { 5523if (nmhdr->code == NativeMethods.HDN_BEGINTRACKA || 5524nmhdr->code == NativeMethods.HDN_BEGINTRACKW) { 5542if (nmhdr->code == NativeMethods.HDN_ITEMCHANGINGA || 5543nmhdr->code == NativeMethods.HDN_ITEMCHANGINGW) { 5577if ((nmhdr->code == NativeMethods.HDN_ITEMCHANGEDA || 5578nmhdr->code == NativeMethods.HDN_ITEMCHANGEDW) && 5626if (nmhdr->code == NativeMethods.HDN_ENDTRACKA || 5627nmhdr->code == NativeMethods.HDN_ENDTRACKW) { 5649if (nmhdr->code == NativeMethods.HDN_ENDDRAG) { 5708if (nmhdr->code == NativeMethods.HDN_DIVIDERDBLCLICKA || 5709nmhdr->code == NativeMethods.HDN_DIVIDERDBLCLICKW) { 5816switch (nmhdr->code) { 5973MouseButtons button = nmhdr->code == NativeMethods.NM_CLICK ? MouseButtons.Left : MouseButtons.Right; 6034if (nmhdr->code == NativeMethods.LVN_GETDISPINFO) { 6122else if (nmhdr->code == NativeMethods.LVN_ODSTATECHANGED) { 6139else if (nmhdr->code == NativeMethods.LVN_GETINFOTIP) { 6167else if (nmhdr->code == NativeMethods.LVN_ODFINDITEM) {
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
2388switch (nmhdr.code) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
5271switch (nmhdr->code) { 6851switch (nmhdr->code) {
winforms\Managed\System\WinForms\RichTextBox.cs (1)
3437switch (nmhdr.code) {
winforms\Managed\System\WinForms\StatusBar.cs (2)
1071switch (note.code) { 1173switch (note.code) {
winforms\Managed\System\WinForms\TabControl.cs (1)
2166switch (nmhdr.code) {
winforms\Managed\System\WinForms\ToolBar.cs (1)
1677switch (note.code) {
winforms\Managed\System\WinForms\ToolTip.cs (2)
2558if (nmhdr.code == NativeMethods.TTN_SHOW && !trackPosition) { 2561else if (nmhdr.code == NativeMethods.TTN_POP) {
winforms\Managed\System\WinForms\TreeView.cs (8)
2973if ((nmhdr->code == NativeMethods.NM_CUSTOMDRAW)) { 2980switch (nmtv->nmhdr.code) { 3023if (nmtv->nmhdr.code != NativeMethods.NM_CLICK 3025button = nmtv->nmhdr.code == NativeMethods.NM_CLICK 3032if (nmtv->nmhdr.code != NativeMethods.NM_CLICK 3041if (nmtv->nmhdr.code == NativeMethods.NM_RCLICK) { 3055if (nmtv->nmhdr.code != NativeMethods.NM_CLICK 3203switch (nmhdr.code) {