using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
// Set the Monitor ID you want to move the windows from
uint monitorID = 2;
// Loop through the visible windows on the monitor and move them to the monitor that has the mouse cursor
foreach (IntPtr window in BFS.Window.GetVisibleWindowHandlesByMonitor(monitorID))
{
BFS.DisplayFusion.RunFunctionWithWindowHandle("Move Window to Current Monitor", window);
}
}
}