/// <summary>
 ///     Called when exception occours.
 /// </summary>
 /// <param name="message">The message.</param>
 private void OnException(string message)
 {
     OnErrorOccours?.Invoke(this, new MessegeEventArgs(message));
 }
 /// <summary>
 /// Shows the error.
 /// </summary>
 /// <param name="message">The message.</param>
 private void ShowError(string message)
 {
     OnErrorOccours?.Invoke(this, new MessegeEventArgs(message));
 }