using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
// Set the process names here
string[] processNames = {"notepad++.exe","mailbird.exe","firefox.exe"};
// Find the main window and close it
foreach (string processName in processNames)
{
IntPtr window = BFS.Application.GetMainWindowByFile("*" + processName.ToLower());
BFS.Window.Close(window);
}
}
}