using System;
using System.Drawing;
using System.Windows.Forms;
public static class DisplayFusionFunction
{
[System.Runtime.InteropServices.DllImport("user32.dll")]
private static extern IntPtr WindowFromPoint(Point pnt);
public static void Run(IntPtr windowHandle)
{
IntPtr windowUnderMouse = WindowFromPoint(Cursor.Position);
BFS.Window.Focus(BFS.Window.GetParentRoot(windowUnderMouse));
}
}