14 references to WM_CLOSE
System.Windows.Forms (14)
winforms\Managed\System\WinForms\Control.cs (3)
5979
UnsafeNativeMethods.DefMDIChildProc(InternalHandle, NativeMethods.
WM_CLOSE
, IntPtr.Zero, IntPtr.Zero);
12811
UnsafeNativeMethods.PostMessage(new HandleRef(null, lastParentHandle), NativeMethods.
WM_CLOSE
, IntPtr.Zero, IntPtr.Zero);
14138
case NativeMethods.
WM_CLOSE
:
winforms\Managed\System\WinForms\Form.cs (2)
3570
SendMessage(NativeMethods.
WM_CLOSE
, 0, 0);
7545
case NativeMethods.
WM_CLOSE
:
winforms\Managed\System\WinForms\MessageDecoder.cs (1)
51
case NativeMethods.
WM_CLOSE
: text = "WM_CLOSE"; break;
winforms\Managed\System\WinForms\NativeWindow.cs (3)
204
UnsafeNativeMethods.PostMessage(new HandleRef(this, h), NativeMethods.
WM_CLOSE
, 0, 0);
858
UnsafeNativeMethods.PostMessage(new HandleRef(this, handle), NativeMethods.
WM_CLOSE
, 0, 0);
1088
UnsafeNativeMethods.PostMessage(href, NativeMethods.
WM_CLOSE
, 0, 0);
winforms\Managed\System\WinForms\NotifyIcon.cs (2)
485
UnsafeNativeMethods.PostMessage(new HandleRef(window, window.Handle), NativeMethods.
WM_CLOSE
, 0, 0);
1006
UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), NativeMethods.
WM_CLOSE
, 0, 0);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
6089
else if (m.Msg == NativeMethods.
WM_CLOSE
) {
winforms\Managed\System\WinForms\Timer.cs (2)
392
UnsafeNativeMethods.PostMessage(new HandleRef(this, hWnd), NativeMethods.
WM_CLOSE
, 0, 0);
461
else if (m.Msg == NativeMethods.
WM_CLOSE
) {