using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
// Get all open windows
IntPtr[] allWindows = BFS.Window.GetVisibleAndMinimizedWindowHandles();
// Loop through them and move them to the next monitor
foreach (IntPtr window in allWindows)
{
BFS.Window.MoveToNextMonitor(window);
}
}
}