Ejemplo n.º 1
0
        private void InvokeOnOverDvdButton(bool isOverDvdButton)
        {
            var e = new OverDvdButtonEventArgs(isOverDvdButton);
            var onOverDvdButtonHandler = OnOverDvdButton;

            if (onOverDvdButtonHandler != null)
            {
                onOverDvdButtonHandler(this, e);
            }
        }
Ejemplo n.º 2
0
 private void InvokeOnOverDvdButton(bool isOverDvdButton)
 {
     var e = new OverDvdButtonEventArgs(isOverDvdButton);
     var onOverDvdButtonHandler = OnOverDvdButton;
     if (onOverDvdButtonHandler != null) onOverDvdButtonHandler(this, e);
 }
Ejemplo n.º 3
0
 /// <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)));
 }