/// <summary>
 /// Etablerar händelse vid fel.
 /// </summary>
 /// <param name="evnt">ErrorEvent</param>
 private void onErrorOccurred(ErrorEvent evnt)
 {
     ErrorOccurred?.Invoke(this, evnt);
 }
 /// <summary>Hanterar error event</summary>
 /// <param name="sender">Avsändare</param>
 /// <param name="args">Errorargument</param>
 private void workerClassOnErrorOccurred(object sender, ErrorEvent args)
 {
     ErrorOccurred?.Invoke(this, args);
 }