private void OnMouseUp(object sender, MouseButtonEventArgs e)
        {
            if (mIsPrimed == true)
            {
                PlayButtonClicked?.Invoke(this, new EventArgs());
            }

            mIsPrimed = false;
            DoRender();
        }
Esempio n. 2
0
 private void btnPlay_Click(object sender, RoutedEventArgs e)
 {
     PlayButtonClicked?.Invoke(this, e);
 }
 private void PlayPauseButton_Click(object sender, RoutedEventArgs e)
 {
     PlayButtonClicked?.Invoke(this, EventArgs.Empty);
 }
Esempio n. 4
0
 private void OnPlayButtonPointerUp()
 {
     PlayButtonClicked?.Invoke();
 }