private static object _DestroyWindow(IntPtr hwnd, string className) { Utility.SafeDestroyWindow(ref hwnd); NativeMethods.UnregisterClass(className, NativeMethods.GetModuleHandle(null)); return(null); }