using System; using System.Collections.Generic; using System.Windows.Forms; public static class DisplayFusionFunction { public static void Run(IntPtr windowHandle) { List<DayOfWeek> workdays = new List<DayOfWeek>() { DayOfWeek.Monday, DayOfWeek.Tuesday, DayOfWeek.Wednesday, DayOfWeek.Thursday, DayOfWeek.Friday }; if(workdays.Contains(DateTime.Now.DayOfWeek)) { // Run some programs? BFS.Application.Start("C:\\Windows\\notepad.exe", ""); } } }