using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
var wBounds = BFS.Window.GetBounds(windowHandle);
/// For primary monitor
var wArea = BFS.Monitor.GetPrimaryMonitorWorkArea();
/// Uncomment the following lines that you need.
/// Top Left
//BFS.Window.SetLocation(windowHandle, wArea.Left, wArea.Top);
/// Top Right
//BFS.Window.SetLocation(windowHandle, wArea.Right - wBounds.Width, wArea.Top);
/// Bottom Left
//BFS.Window.SetLocation(windowHandle, wArea.Left, wArea.Bottom - wBounds.Height);
/// Bottom Right
//BFS.Window.SetLocation(windowHandle, wArea.Right - wBounds.Width, wArea.Bottom - wBounds.Height);
/// "Always on top"
BFS.Window.SetAlwaysOnTop(windowHandle, true);
}
}