public bool ReloadSettings()
 {
     try
     {
         return(ServiceIo.LoadSettings());
     }
     catch (Exception ex)
     {
         EventLogger.Instance.Add(ex.Message);
     }
     return(false);
 }
示例#2
0
        public void Start()
        {
            try
            {
                ServiceIo.LoadSettings();

                SetupDownloader();
                if (this.updaterThread == null)
                {
                    SetupThread();
                }

                if (!this.updaterThread.IsAlive)
                {
                    this.updaterThread.Start();
                }
            }
            catch (Exception ex)
            {
                EventLogger.Instance.Add(ex.Message);
            }
        }