public static void makeTransparent(IntPtr hwnd)
        {
            // Change the extended window style to include WS_EX_TRANSPARENT
            int extendedStyle = GetWindowLong(hwnd, GWL_EXSTYLE);

            SystemTransparent.SetWindowLong(hwnd, GWL_EXSTYLE, extendedStyle |
                                            WS_EX_TRANSPARENT);
        }
        protected override void OnSourceInitialized(EventArgs e)
        {
            base.OnSourceInitialized(e);

            // Get this window's handle
            IntPtr hwnd = new WindowInteropHelper(this).Handle;

            SystemTransparent.makeTransparent(hwnd);
        }