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