using System; using System.Drawing; public static class DisplayFusionFunction { public static void Run(IntPtr windowHandle) { if (BFS.Monitor.GetMonitorCountEnabledAndDisabled() == 1) BFS.DisplayFusion.LoadMonitorProfile("Built-in Monitor Profile"); else if (BFS.Monitor.GetMonitorCountEnabledAndDisabled() == 2) BFS.DisplayFusion.LoadMonitorProfile("Single External Monitor Profile"); else if (BFS.Monitor.GetMonitorCountEnabledAndDisabled() == 3) BFS.DisplayFusion.LoadMonitorProfile("Dual External Monitor Profile"); } }