Exemplo n.º 1
0
        private void Ac_DoubleClick(object sender, EventArgs e)
        {
            AlbumControl ac = (AlbumControl)sender;

            AlbumControlClicked?.Invoke(this, new AlbumControlEventArgs()
            {
                Album = ac.Album
            });
        }
Exemplo n.º 2
0
 private void albumGrid_AlbumControlClicked(object sender, AlbumControlEventArgs e) => AlbumControlClicked?.Invoke(sender, new AlbumControlEventArgs {
     Album = e.Album
 });