Beispiel #1
0
 private void CancelBackgroundWorker(object sender, RunWorkerCompletedEventArgs e)
 {
     if (e.Error != null)
     {
         ScopeVNSMessagingSystem.GetInstance().AddMessage("Error detected on scope " + SerialCode + "! PLEASE RESTART SCOPEVNS!");
         ErrorLoggingService.GetInstance().LogExceptionError(e.Error);
     }
 }
        public static ErrorLoggingService GetInstance()
        {
            if (_instance == null)
            {
                _instance = new ErrorLoggingService();
            }

            return(_instance);
        }