private void Window_KeyDown(object sender, KeyEventArgs e) { switch (e.Key) { case Key.Space: MediaControl.Play(Video, pctPlay); break; case Key.Left: MediaControl.MooveBackward(Video); break; case Key.Right: MediaControl.MooveForward(Video); break; case Key.C: MediaControl.ActivateCc(lblSubtitle); break; } }
private void btnBackward_Click(object sender, RoutedEventArgs e) { MediaControl.MooveBackward(Video); }