2 writes to window
System.Windows.Forms (2)
winforms\Managed\System\WinForms\NotifyIcon.cs (2)
78
window
= new NotifyIconNativeWindow(this);
475
window
= null;
23 references to window
System.Windows.Forms (23)
winforms\Managed\System\WinForms\NotifyIcon.cs (23)
470
if (
window
!= null) {
474
window
.DestroyHandle();
484
if (
window
!= null &&
window
.Handle != IntPtr.Zero) {
485
UnsafeNativeMethods.PostMessage(new HandleRef(
window
,
window
.Handle), NativeMethods.WM_CLOSE, 0, 0);
486
window
.ReleaseHandle();
694
if (
window
.Handle == IntPtr.Zero) {
695
window
.CreateHandle(new CreateParams());
697
data.hWnd =
window
.Handle;
729
UnsafeNativeMethods.SetForegroundWindow(new HandleRef(
window
,
window
.Handle));
738
new HandleRef(
window
,
window
.Handle),
742
UnsafeNativeMethods.PostMessage(new HandleRef(
window
,
window
.Handle), NativeMethods.WM_NULL, IntPtr.Zero, IntPtr.Zero);
768
window
.LockReference(showIconInTray);
774
if (
window
.Handle == IntPtr.Zero) {
775
window
.CreateHandle(new CreateParams());
778
data.hWnd =
window
.Handle;
905
window
.DefWndProc(ref msg);
935
window
.DefWndProc(ref msg);
947
window
.DefWndProc(ref m);