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