예제 #1
0
 protected void OnPlayButtonClicked()
 {
     EventHandler playButtonClicked = this.PlayButtonClicked;
     if (playButtonClicked != null)
     {
         PlayButtonEventArgs e = new PlayButtonEventArgs(Playing);
         playButtonClicked(this, e);
     }
 }
예제 #2
0
        protected void OnPlayButtonClicked()
        {
            EventHandler playButtonClicked = this.PlayButtonClicked;

            if (playButtonClicked != null)
            {
                PlayButtonEventArgs e = new PlayButtonEventArgs(Playing);
                playButtonClicked(this, e);
            }
        }