Пример #1
0
 public CNotes(CNotes notes)
 {
     foreach (CVoice voice in notes._Voices)
     {
         _Voices.Add(new CVoice(voice));
     }
     VoiceNames = new CVoiceNames(notes.VoiceNames);
 }
Пример #2
0
        public CSong(CSong song)
        {
            _CoverTextureSmall = song._CoverTextureSmall;
            _CoverTextureBig   = song._CoverTextureBig;

            Medley = song.Medley;

            _CalculateMedley = song._CalculateMedley;
            Preview          = song.Preview;

            ShortEnd = song.ShortEnd;

            Encoding       = song.Encoding;
            ManualEncoding = song.ManualEncoding;
            Folder         = song.Folder;
            FolderName     = song.FolderName;
            FileName       = song.FileName;
            Relative       = song.Relative;

            MP3FileName         = song.MP3FileName;
            CoverFileName       = song.CoverFileName;
            BackgroundFileNames = song.BackgroundFileNames;
            VideoFileName       = song.VideoFileName;

            VideoAspect = song.VideoAspect;
            NotesLoaded = song.NotesLoaded;

            Artist        = song.Artist;
            Title         = song.Title;
            ArtistSorting = song.ArtistSorting;
            TitleSorting  = song.TitleSorting;

            Creator     = song.Creator;
            Version     = song.Version;
            Length      = song.Length;
            Source      = song.Source;
            UnknownTags = new List <string>(song.UnknownTags);

            Start  = song.Start;
            Finish = song.Finish;

            BPM      = song.BPM;
            Gap      = song.Gap;
            VideoGap = song.VideoGap;

            _Comment = song._Comment;

            ID        = song.ID;
            _Visible  = song._Visible;
            _CatIndex = song._CatIndex;
            _Selected = song._Selected;

            Editions = new List <string>(song.Editions);
            Genres   = new List <string>(song.Genres);
            Album    = song.Album;
            Year     = song.Year;

            Languages = new List <string>(song.Languages);

            DataBaseSongID   = song.DataBaseSongID;
            DateAdded        = song.DateAdded;
            NumPlayed        = song.NumPlayed;
            NumPlayedSession = song.NumPlayedSession;

            Notes = new CNotes(song.Notes);
        }