Exemplo n.º 1
0
 public void Play(VideoInfo video)
 {
     Width  = 0;
     Height = 0;
     info   = video;
     Initialize();
     form = new PlayerForm(this);
     form.Show();
     form.Play(video);
 }
Exemplo n.º 2
0
        public void Play(VideoInfo video)
        {
            form = new PlayerForm(this);
            form.FilePosition += (v, position) =>
            {
                VideoInfoChange?.Invoke(v, position);
            };
            form.Show();

            form.Play(video);
        }