コード例 #1
0
        private Song FindSongFromSelectedDgvRow()
        {
            string songID       = dgvSongList.CurrentCell.OwningRow.Cells[0].Value.ToString();
            int    songIDint    = Int32.Parse(songID);
            Song   songtoReturn = SongList.FindSongByID(songIDint);

            return(songtoReturn);
        }