HamBook – Blame information for rev 54

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 using System;
2 using System.Threading;
3 using System.Windows.Forms;
4  
5 namespace HamBook
6 {
7 internal static class Program
8 {
9 private static readonly Mutex Mutex = new Mutex(true, Constants.AssemblyGuid);
10  
11 /// <summary>
54 office 12 /// The main entry point for the application.
1 office 13 /// </summary>
14 [STAThread]
54 office 15 private static void Main()
1 office 16 {
17 if (Mutex.WaitOne(TimeSpan.Zero, true))
18 {
19 try
20 {
21 Application.EnableVisualStyles();
22 Application.SetCompatibleTextRenderingDefault(false);
23 Application.Run(new Form1(Mutex));
24 }
25 finally
26 {
27 Mutex.ReleaseMutex();
28 }
29 }
30 }
31 }
54 office 32 }