Пример #1
0
 private void SetupEngagementWindows()
 {
     // Setup the engagementWindow list as a mirror of the engagements
     _engagementWindows = new EngagementWindowList(_appContext, NotificationList, OnEngagementPropertyChange, Dispatcher);
     try
     {
         _engagementWindows.SetList(_appContext.EngagementManager.Engagements, "SecondPartyUsername");
     }
     catch (Exception e)
     {
         Logger.Error("Failed to set the list : " + e.Message, e);
     }
     _appContext.EngagementManager.NewActivity += EngagementManagerOnNewActivity;
 }
Пример #2
0
 private void SetupEngagementWindows()
 {
     // Setup the engagementWindow list as a mirror of the engagements
     _engagementWindows = new EngagementWindowList(_appContext, NotificationList, OnEngagementPropertyChange, Dispatcher);
     try
     {
         _engagementWindows.SetList(_appContext.EngagementManager.Engagements, "SecondPartyUsername");
     }
     catch (Exception e)
     {
         Logger.Error("Failed to set the list : " + e.Message, e);
     }
     _appContext.EngagementManager.NewActivity += EngagementManagerOnNewActivity;
 }