using System; using System.Collections.Generic; using System.Windows.Forms; using TaskExplorer.Data; namespace TaskExplorer { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Store store = new Store(); #if INIT_WITH_DUMMY_DATA { Task move = store.CreateTask("Move boxes"); Task hoover = store.CreateTask("Hoover"); hoover.AddPreRequisite(move); Goal clean = store.CreateGoal("Have a clean room"); clean.RequireTask(hoover); } #endif Application.Run(new Form1(store)); } } }