예제 #1
0
 public void UpdateAnalogousReactionPreview(ReactionVM SelectedReaction)
 {
     if (AnalogousReactionPreview != null)
     {
         if (SelectedReaction != null)
         {
             AnalogousReactionPreview = ReactionViewBuilder.GetReactionView(SelectedReaction, AllParticipants.ToList());
         }
         else
         {
             AnalogousReactionPreview.Name = "Select Reaction To Preview . .";
         }
     }
 }
예제 #2
0
        public void UpdateReactionPreview(ReactionVM SelectedReaction)
        {
            var mainVM = (App.Current.MainWindow as MainWindow).DataContext as MainVM;

            #region Curator View
            if (MasterReactionPreview != null)
            {
                if (SelectedReaction != null)
                {
                    MasterReactionPreview = ReactionViewBuilder.GetReactionView(SelectedReaction, mainVM.TanVM.ReactionParticipants.ToList());
                }
                else
                {
                    MasterReactionPreview.Name = "Select Reaction To Preview . .";
                }
            }
            #endregion
        }