Пример #1
0
        private static TimelineBase CreateMediaTimeline(GrgStoryboard argBoard,
                                                        XmlNode argNode)
        {
            Debug.Assert(null != argNode && null != argBoard);

            MediaTimeline media = new MediaTimeline(argBoard);

            if (!media.Open(argNode))
            {
                media = null;
                return(null);
            }

            return(media);
        }