Exemple #1
0
 private void GetIV(Model.Object video)
 {
     stackPn.Children.Clear();
     watchVideo.SetVideo(video);
     stackPn.Children.Add(watchVideo);
     foreach (var i in data.VideoList)
     {
         stackPn.Children.Add(i);
     }
 }
Exemple #2
0
 private void GetVideo(Model.Object video)
 {
     stackPn.Children.Clear();
     //watchVideo.SetVideo(video);
     //watchVideo.Height = 480;
     //watchVideo.Visibility = Visibility.Visible;
     //stackPn.Children.Add(watchVideo);
     watchVideo.ClearVideo();
     infoVideo.SetVideo(video);
     stackPn.Children.Add(infoVideo);
     foreach (var i in data.VideoList)
     {
         stackPn.Children.Add(i);
     }
     //load stackPn lai voi nhung video lien quan
 }
Exemple #3
0
 public Focus(Model.Object video, TimeSpan time)
 {
     InitializeComponent();
     Watch.SetMedia(video, time);
     Watch.BtnX();
 }