示例#1
0
 void SetVideoState(bool isVideo)
 {
     IsVideo          = isVideo;
     videoView.Hidden = !isVideo || VideoPlaybackWindowController.IsVisible;
     if (!videoView.Hidden)
     {
         videoView.Show();
     }
 }
 public void Show()
 {
     IsVisible = true;
     Window.OrderFront(this);
     videoView.Show();
 }