using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
// Set the amount of time in minutes here
uint disabledTimeMinutes = 5;
// Disable the TitleBar Buttons
BFS.DisplayFusion.RunFunction("Toggle TitleBar Buttons");
// Wait the specified time (time multiplied by 60000 to get it in milliseconds)
BFS.General.ThreadWait(disabledTimeMinutes * 60000);
// Enable the TitleBar Buttons
BFS.DisplayFusion.RunFunction("Toggle TitleBar Buttons");
}
}