コード例 #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);
            }
        }