Exemple #1
0
 private void Refresh(object sender, RiskEntryChangedArgs e)
 {
     Application.Current.Dispatcher.Invoke(
         DispatcherPriority.Send,
         (DispatcherOperationCallback)(arg =>
     {
         SetUIElements();
         InvalidateVisual();
         return(null);
     }), null);
 }
 private void Refresh(object sender, RiskEntryChangedArgs e)
 {
     Application.Current.Dispatcher.Invoke(
         DispatcherPriority.Send,
         (DispatcherOperationCallback)(arg =>
                                           {
                                               SetUIElements();
                                               InvalidateVisual();
                                               return null;
                                           }), null);
 }