예제 #1
0
 private void InvokeDvdError(DvdError error)
 {
     var e = new DVDErrorArgs { Error = error };
     var dvdErrorHandler = OnDvdError;
     if (dvdErrorHandler != null) dvdErrorHandler(this, e);
 }
예제 #2
0
 private void DvdPlayer_OnDvdError(object sender, DVDErrorArgs e)
 {
     Dispatcher.BeginInvoke((Action)(() => InvokeDvdError(e.Error)));
 }