Beispiel #1
0
 private void SetDataContext()
 {
     try
     {
         DataContext = _dashboardResolver.GetProjectStatusList();
     }
     catch (DashboardCommunicationException ex)
     {
         DataContext = null;
         TimeSpan timeToShowMessage = TimeSpan.FromSeconds(3);
         HumaneMessageWindow.Show("There was a problem connecting to " + ex.Uri + ".", timeToShowMessage);
     }
 }