Beispiel #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            NClick c = new NClick();

            c.Clicken(Label1);

            UpdateClick a = new UpdateClick();

            a.Clicken(Label2);
        }
        private void UpdatePlaylist_Click(object sender, RoutedEventArgs e)
        {
            IPlaylist playlist = (IPlaylist)((FrameworkElement)sender).DataContext;

            UpdateClick?.Invoke(this, new PlaylistActionEventArgs(playlist));
        }