source: branches/eraser6/Eraser/Program.cs @ 222

Revision 222, 540 bytes checked in by lowjoel, 6 years ago (diff)

Move the Eraser Client object to the Program class for client access. Consequently move the task addition job to the SchedulerPanel?.

Line 
1using System;
2using System.Collections.Generic;
3using System.Windows.Forms;
4
5using Eraser.Manager;
6
7namespace Eraser
8{
9    static class Program
10    {
11        /// <summary>
12        /// The main entry point for the application.
13        /// </summary>
14        [STAThread]
15        static void Main()
16        {
17            Application.EnableVisualStyles();
18            Application.SetCompatibleTextRenderingDefault(false);
19            Application.Run(new MainForm());
20
21            (eraserClient as IDisposable).Dispose();
22        }
23
24        public static Executor eraserClient = new DirectExecutor();
25    }
26}
Note: See TracBrowser for help on using the repository browser.