コード例 #1
0
        public SongElement AddElement(Source.Music.Track t)
        {
            SongElement se = new SongElement()
            {
                Author = t.Author,
                name   = t.Title,
                Track  = t,
                Length = t.Length,
            };

            return(se);
        }
コード例 #2
0
        public SongElement DeepCopy()
        {
            var temp = new SongElement();

            temp.Added  = this.Added;
            temp.Author = this.Author;
            temp.name   = this.name;
            temp.Track  = this.Track;
            //temp.Playing = ff;
            temp.Favourite = this.Favourite;
            temp.Length    = this.Length;
            return(temp);
        }