Server/Program.cs
changeset 201 6213f42f1983
parent 123 0df386e37e29
child 226 91763ba41c0c
     1.1 --- a/Server/Program.cs	Thu Jul 14 19:25:52 2016 +0200
     1.2 +++ b/Server/Program.cs	Fri Jul 15 18:31:17 2016 +0200
     1.3 @@ -40,7 +40,7 @@
     1.4          static void Main()
     1.5          {
     1.6  
     1.7 -			/*
     1.8 +            /*
     1.9  			if (!IsRunAsAdministrator())
    1.10  			{
    1.11  				var processInfo = new ProcessStartInfo(Assembly.GetExecutingAssembly().CodeBase);
    1.12 @@ -65,9 +65,8 @@
    1.13  				return;
    1.14  				//Application.Current.Shutdown();
    1.15  			}*/
    1.16 -
    1.17 -
    1.18 -			Application.ApplicationExit += new EventHandler(OnApplicationExit);
    1.19 +          
    1.20 +            Application.ApplicationExit += new EventHandler(OnApplicationExit);
    1.21  			//
    1.22              Application.EnableVisualStyles();
    1.23              Application.SetCompatibleTextRenderingDefault(false);