private void OnServerDownError(Exception ex) { if (ServerDownError != null) { TestDebugger.Instance.WriteError(ex); ServerDownError(AppException.GetError(ex)); SocketClient.ServerMessage(); } }
public static DialogResult Show(Exception ex, string message) { return(Error(AppException.GetError(ex, message))); }