HamBook – Diff between revs 54 and 56

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 54 Rev 56
Line 13... Line 13...
13 /// </summary> 13 /// </summary>
14 [STAThread] 14 [STAThread]
15 private static void Main() 15 private static void Main()
16 { 16 {
17 if (Mutex.WaitOne(TimeSpan.Zero, true)) 17 if (Mutex.WaitOne(TimeSpan.Zero, true))
18 { -  
19 try 18 try
20 { 19 {
21 Application.EnableVisualStyles(); 20 Application.EnableVisualStyles();
22 Application.SetCompatibleTextRenderingDefault(false); 21 Application.SetCompatibleTextRenderingDefault(false);
23 Application.Run(new Form1(Mutex)); 22 Application.Run(new Form1(Mutex));
24 } 23 }
25 finally 24 finally
26 { 25 {
27 Mutex.ReleaseMutex(); 26 Mutex.ReleaseMutex();
28 } 27 }
29 } -  
30 } 28 }
31 } 29 }
32 } 30 }
33   31