Horizon – Diff between revs 1 and 9

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 1 Rev 9
Line 1... Line 1...
1 using System; 1 using System;
-   2 using System.IO;
2 using System.Threading; 3 using System.Threading;
3 using System.Windows.Forms; 4 using System.Windows.Forms;
Line 4... Line 5...
4   5  
5 namespace Horizon 6 namespace Horizon
Line 18... Line 19...
18 /// The main entry point for the application. 19 /// The main entry point for the application.
19 /// </summary> 20 /// </summary>
20 [STAThread] 21 [STAThread]
21 private static void Main() 22 private static void Main()
22 { 23 {
-   24 Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory);
-   25  
23 if (Mutex.WaitOne(TimeSpan.Zero, true)) 26 if (Mutex.WaitOne(TimeSpan.Zero, true))
24 { 27 {
25 try 28 try
26 { 29 {
27 Application.EnableVisualStyles(); 30 Application.EnableVisualStyles();