using System; using System.Drawing; public static class DisplayFusionFunction { public static void Run(IntPtr windowHandle) { string appPath = @"full path to CCS64.exe"; string appArgs = @"any arguments for CCS64.exe go here, otherwise just make this blank"; // Launch the first window and move/size it uint appID = BFS.Application.Start(appPath, appArgs); windowHandle = BFS.Application.GetMainWindowByAppID(appID); BFS.Window.SetSizeAndLocation(windowHandle, 0, 0, 400, 500); // Launch the second window and move/size it appID = BFS.Application.Start(appPath, appArgs); windowHandle = BFS.Application.GetMainWindowByAppID(appID); BFS.Window.SetSizeAndLocation(windowHandle, 400, 0, 400, 500); } }