コード例 #1
0
 protected override void OnClosing(CancelEventArgs e)
 {
     e.Cancel = true;
     PlayerElement.Stop();
     ElementState = PlayerState.Stopped;
     Hide();
 }
コード例 #2
0
 private void _elementStop()
 {
     PlayerElement.Stop();
     ElementState = PlayerState.Stopped;
 }