Example #1
0
 private void deleteSongButton_Click(object sender, EventArgs e)
 {
     if (this.listViewBase.SelectedItems.Count == 1)
     {
         MDIForm parent = (MDIForm)this.MdiParent;
         Song    s      = (Song)this.listViewBase.SelectedItems[0].Tag;
         parent.DeleteSong(s);
     }
 }
Example #2
0
        private void addSongButton_Click(object sender, EventArgs e)
        {
            MDIForm parent = (MDIForm)this.MdiParent;

            parent.AddSong();
        }