using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
// Show monitor selector
var monId = BFS.Monitor.ShowMonitorSelector();
// Move focused window to selected monitor
BFS.Window.MoveToMonitor(monId, windowHandle);
// Get window bounds
var wBounds = BFS.Window.GetBounds(windowHandle);
// Move mouse to center of window
BFS.Input.SetMousePosition(wBounds.Width / 2 + wBounds.X, wBounds.Height / 2 + wBounds.Y);
}
}