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