예제 #1
0
 public FrameContentPicture(FrameContentPicture other)
     : base(other)
 {
     MimeTypeText = other.MimeTypeText;
     PictureType  = other.PictureType;
     Description  = other.Description;
     Content      = other.Content.Clone() as byte[];
 }
예제 #2
0
        public override void Commit()
        {
            ID3.FrameContentPicture fcp = (ID3.FrameContentPicture)Frame.Content;

            fcp.PictureType = PictureType.Value;
            fcp.Description = Text.Value;
            fcp.Content     = Content.Value;
            fcp.MimeType    = CurrentMimeType;
        }
예제 #3
0
        public override void Load()
        {
            base.Load();

            ID3.FrameContentPicture fcp = (ID3.FrameContentPicture)Frame.Content;

            PictureType.Value = fcp.PictureType;
            Content.Value     = fcp.Content;

            NotifyPropertyChanged(this, m => m.Image);
            NotifyPropertyChanged(this, m => m.InfoText);
        }