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