virtual protected void OnServerError(ImServerErrorArgs e) { if (ServerError != null) { ServerError(this, e); } }
private void ServerError(object sender, ImServerErrorArgs e) { Application.Current.Dispatcher.Invoke(new Action(() => { lblErrorMessage.Content = e.ErrorMessage; LabelErrorMessageAnimator(e.ErrorMessage, lblErrorMessage); })); }