Winify – Diff between revs 8 and 19
?pathlinks?
Rev 8 | Rev 19 | |||
---|---|---|---|---|
Line 35... | Line 35... | |||
35 | { |
35 | { |
|
36 | if (Mutex.WaitOne(TimeSpan.Zero, true)) |
36 | if (Mutex.WaitOne(TimeSpan.Zero, true)) |
|
37 | { |
37 | { |
|
38 | Application.EnableVisualStyles(); |
38 | Application.EnableVisualStyles(); |
|
39 | Application.SetCompatibleTextRenderingDefault(false); |
39 | Application.SetCompatibleTextRenderingDefault(false); |
|
40 | _form = new Form1(); |
40 | _form = new Form1(Mutex); |
|
41 | Application.Run(); |
41 | Application.Run(); |
|
42 | Mutex.ReleaseMutex(); |
42 | Mutex.ReleaseMutex(); |
|
43 | return; |
43 | return; |
|
44 | } |
44 | } |