Spring – Diff between revs 1 and 3

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