Exemple #1
0
        private void InvokeOnOverDvdButton(bool isOverDvdButton)
        {
            var e = new OverDvdButtonEventArgs(isOverDvdButton);
            var onOverDvdButtonHandler = OnOverDvdButton;

            if (onOverDvdButtonHandler != null)
            {
                onOverDvdButtonHandler(this, e);
            }
        }
Exemple #2
0
 private void InvokeOnOverDvdButton(bool isOverDvdButton)
 {
     var e = new OverDvdButtonEventArgs(isOverDvdButton);
     var onOverDvdButtonHandler = OnOverDvdButton;
     if (onOverDvdButtonHandler != null) onOverDvdButtonHandler(this, e);
 }
 /// <summary>
 /// The handler for when the mouse is over a DVD button.  This event is fired by the DVD Player class.
 /// </summary>
 private void DvdPlayer_OnOverDvdButton(object sender, OverDvdButtonEventArgs e)
 {
     Dispatcher.BeginInvoke((Action)(() => SetIsOverDvdButton(e.IsOverDvdButton)));
 }