public void Dispose() { if (Win32.IsWindow(hWnd)) { Win32.SetWindowLong(hWnd, -4, oldWndProc); } GC.SuppressFinalize(this); }