Ejemplo n.º 1
0
 public static ReplayView Get()
 {
     if (instance == null)
     {
         instance = new ReplayView();
     }
     return(instance);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Function displaying the video sheet (video replay view)
 /// </summary>
 public void ShowReplayVideoSheet()
 {
     MyImage.Visibility     = Visibility.Hidden;
     MyHost.Visibility      = Visibility.Hidden;
     ReplayVideo.Visibility = Visibility.Visible;
     if (ReplayView.Get().Stream.IsChecked.Value)
     {
         CanvasFeedback.Visibility = Visibility.Visible;
     }
     else
     {
         CanvasFeedback.Visibility = Visibility.Hidden;
     }
 }
Ejemplo n.º 3
0
 public ReplayView()
 {
     InitializeComponent();
     instance = this;
     //this.DataContext = ReplayViewModel.Get();
     this.FeedbackLabel1.DataContext = TrainingSideToolViewModel.Get();
     this.FeedbackLabel2.DataContext = TrainingSideToolViewModel.Get();
     this.FeedbackLabel3.DataContext = TrainingSideToolViewModel.Get();
     this.FeedbackLabel4.DataContext = TrainingSideToolViewModel.Get();
     this.FeedbackLabel5.DataContext = TrainingSideToolViewModel.Get();
     this.FeedbackLabel6.DataContext = TrainingSideToolViewModel.Get();
     this.FeedbackLabel7.DataContext = TrainingSideToolViewModel.Get();
     this.FeedbackLabel8.DataContext = TrainingSideToolViewModel.Get();
     this.FeedbackLabel9.DataContext = TrainingSideToolViewModel.Get();
 }