public DataControlNotifier( TimelineUrlCollection urls, List <TimelineBand> bands ) { m_elements = bands; m_urls = urls; m_streams = new List <Stream>(); foreach (FrameworkElement e in m_elements) { if (e.ActualWidth != 0) { m_sizeCount++; #if !SILVERLIGHT CheckCompleted(); #endif } else { e.SizeChanged += OnSizeChanged; } } StartDataDownload(); }
public DataControlNotifier( TimelineUrlCollection urls, List<TimelineBand> bands ) { m_elements = bands; m_urls = urls; m_streams = new List<Stream>(); foreach (FrameworkElement e in m_elements) { if (e.ActualWidth != 0) { m_sizeCount++; #if !SILVERLIGHT CheckCompleted(); #endif } else { e.SizeChanged += OnSizeChanged; } } StartDataDownload(); }
public DataControlNotifier( ) { m_elements = new List <TimelineBand>(); m_urls = new TimelineUrlCollection(); m_streams = new List <Stream>(); }
public DataControlNotifier( ) { m_elements = new List<TimelineBand>(); m_urls = new TimelineUrlCollection(); m_streams = new List<Stream>(); }
public void AddUrls( TimelineUrlCollection urls ) { Debug.Assert(urls != null); m_urls = urls; StartDataDownload(); }
public TimelineTray( ) { m_dataUrls = new TimelineUrlCollection(); m_events = new List <TimelineEvent>(); m_bands = new List <TimelineBand>(); MoreLinkText = MORE_LINK_TEXT; this.Loaded += OnControlLoaded; this.SizeChanged += OnSizeChanged; this.MouseWheel += OnMouseWheel; #if SILVERLIGHT Application.Current.Host.Content.FullScreenChanged += OnFullScreenChanged; #endif }
public TimelineTray( ) { m_dataUrls = new TimelineUrlCollection(); m_bands = new List<TimelineBand>(); m_eventStore = new TimelineEventStore(new List<TimelineEvent>()); MoreLinkText = MORE_LINK_TEXT; this.Loaded += OnControlLoaded; this.SizeChanged += OnSizeChanged; //this.MouseWheel += OnMouseWheel; #if SILVERLIGHT Application.Current.Host.Content.FullScreenChanged += OnFullScreenChanged; #endif }