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