Widow – Diff between revs 19 and 20
?pathlinks?
Rev 19 | Rev 20 | |||
---|---|---|---|---|
Line 32... | Line 32... | |||
32 | [STAThread] |
32 | [STAThread] |
|
33 | private static void Main() |
33 | private static void Main() |
|
34 | { |
34 | { |
|
35 | if (Mutex.WaitOne(TimeSpan.Zero, true)) |
35 | if (Mutex.WaitOne(TimeSpan.Zero, true)) |
|
36 | { |
36 | { |
|
- | 37 | Application.EnableVisualStyles(); |
||
37 | Application.SetCompatibleTextRenderingDefault(false); |
38 | Application.SetCompatibleTextRenderingDefault(false); |
|
38 | _form = new MainForm(); |
39 | _form = new MainForm(); |
|
39 | Application.Run(); |
40 | Application.Run(); |
|
40 | Mutex.ReleaseMutex(); |
41 | Mutex.ReleaseMutex(); |
|
41 | return; |
42 | return; |