private void OnMouseUp(object sender, MouseButtonEventArgs e) { if (mIsPrimed == true) { PlayButtonClicked?.Invoke(this, new EventArgs()); } mIsPrimed = false; DoRender(); }
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); }
private void OnPlayButtonPointerUp() { PlayButtonClicked?.Invoke(); }