Korero – Diff between revs 1 and 3
?pathlinks?
Rev 1 | Rev 3 | |||
---|---|---|---|---|
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 Korero |
6 | namespace Korero |
|
Line 30... | Line 31... | |||
30 | /// The main entry point for the application. |
31 | /// The main entry point for the application. |
|
31 | /// </summary> |
32 | /// </summary> |
|
32 | [STAThread] |
33 | [STAThread] |
|
33 | private static void Main() |
34 | private static void Main() |
|
34 | { |
35 | { |
|
- | 36 | Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory); |
||
- | 37 | |
||
35 | if (Mutex.WaitOne(TimeSpan.Zero, true)) |
38 | if (Mutex.WaitOne(TimeSpan.Zero, true)) |
|
36 | { |
39 | { |
|
37 | Application.EnableVisualStyles(); |
40 | Application.EnableVisualStyles(); |
|
38 | Application.SetCompatibleTextRenderingDefault(false); |
41 | Application.SetCompatibleTextRenderingDefault(false); |
|
39 | _form = new MainForm(Mutex); |
42 | _form = new MainForm(Mutex); |