private void AddTrackView(TrackModel trackData) { BaseTrackView trackView = TimelineViewHelper.GetTrackView(trackData); trackView.Init(window, Model); trackView.Sequence = this; Tracklist.Add(trackView); RefreshTrackIndex(); }
private void AddClipView(ClipModel clipData) { BaseClipView clipView = TimelineViewHelper.GetClipView(clipData); clipView.Init(window, Model); clipView.Track = this; Cliplist.Add(clipView); OnAddClipView(clipView); }