public NutritionalInfoService()
        {
            InitializeComponent();

            //if(!System.Diagnostics.EventLog.SourceExists("NutritionalInfoImporter"))
            //{
            //    System.Diagnostics.EventLog.CreateEventSource("NutritionalInfoImporter", "WoWImporterLog");
            //}

            //eventLog1.Source = "NutritionalInfoImporter";
            //eventLog1.Log = "WoWImporterLog";

            //eventLog1.WriteEntry("Init");

            importer = new Importer();
        }
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
#if DEBUG            
            Console.WriteLine("Nutritional Info importer console about to begin, continue?");
            Console.ReadLine();
            Importer importer = new Importer();
            importer.Start();
            Console.WriteLine("Debug - Nutritional Info importer console running - press any key to stop");
            Console.ReadKey();
            importer.Stop();            
#else
            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[] 
			{ 
				new NutritionalInfoService() 
			};
            ServiceBase.Run(ServicesToRun);
#endif
        }