protected override void OnClosing(CancelEventArgs e)
 {
     e.Cancel = true;
     PlayerElement.Stop();
     ElementState = PlayerState.Stopped;
     Hide();
 }
 private void _elementStop()
 {
     PlayerElement.Stop();
     ElementState = PlayerState.Stopped;
 }