using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run()
{
// Move the mouse cursor to the next monitor
BFS.DisplayFusion.RunFunction("Move Mouse to Monitor 3");
// Wait 100ms
BFS.General.ThreadWait(10);
// Send a mouse left-click
BFS.Input.LeftClickMouse();
}
}using System;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
// Show the monitor selector to select the desired monitor
var monId = BFS.Monitor.ShowMonitorSelector();
// Get the monitor bounds by its ID
var bounds = BFS.Monitor.GetMonitorBoundsByID(monId);
// Move the mouse to the center of the monitor
BFS.Input.SetMousePosition(bounds.Width / 2 + bounds.X, bounds.Height / 2 + bounds.Y);
// And send a mouse left-click
BFS.Input.LeftClickMouse();
}
}