using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using System.Windows.Shell; namespace JumpListTest { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { System.Windows.Application wpfApp = new System.Windows.Application(); JumpTask task = new JumpTask(); task.ApplicationPath = "wt.exe"; task.Description = "Work Terminal"; task.Title = "Terminal"; JumpList.SetJumpList(wpfApp, new JumpList(new List<JumpItem> { task }, false, false)); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(); } } }