public static class DisplayFusionFunction
public static void Run(IntPtr windowHandle)
Rectangle monitorWorkArea = BFS.Monitor.GetMonitorWorkAreaByWindow(windowHandle);
Rectangle windowBounds = BFS.Window.GetBounds(windowHandle);
if (windowBounds.Width > monitorWorkArea.Width)
BFS.Window.SetSize(windowHandle, monitorWorkArea.Width - 100, windowBounds.Height);
if (windowBounds.Height > monitorWorkArea.Height)