using System; using System.Drawing; public static class DisplayFusionFunction { public static void Run() { // Get all window handles IntPtr[] windowHandles = BFS.Window.GetAllWindowHandles(); // Loop through the window handles, and if they belong to a Chrome window, move them to monitor 1 and maximize them foreach (IntPtr window in windowHandles) { if (BFS.Application.GetMainFileByWindow(window).EndsWith("chrome.exe")) { BFS.Window.MoveToMonitorMaximized(1, window); } } } }