| Revision 223,
527 bytes
checked in by lowjoel, 5 years ago
(diff) |
|
Allow the program to quit.
|
| Line | |
|---|
| 1 | using System; |
|---|
| 2 | using System.Collections.Generic; |
|---|
| 3 | using System.Windows.Forms; |
|---|
| 4 | |
|---|
| 5 | using Eraser.Manager; |
|---|
| 6 | |
|---|
| 7 | namespace 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 | |
|---|
| 20 | using (eraserClient = new DirectExecutor()) |
|---|
| 21 | Application.Run(new MainForm()); |
|---|
| 22 | } |
|---|
| 23 | |
|---|
| 24 | public static DirectExecutor eraserClient; |
|---|
| 25 | } |
|---|
| 26 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.