using System; using System.Drawing; public static class DisplayFusionFunction { public static void Run(IntPtr windowHandle) { if (BFS.Monitor.GetMonitorIDs().Length == 2) BFS.DisplayFusion.LoadMonitorProfile("Office"); if (BFS.Monitor.GetMonitorIDs().Length == 1) BFS.DisplayFusion.LoadMonitorProfile("Laptop"); } }