C# Class TrakHound_UI.Timeline.DataControlNotifier

This class aggregates resize events of TimelineBand controls and loadcomplete of datasources, so that we know when all controls are resized and all xml files downloaded.
Afficher le fichier Open project: TrakHound/TrakHound-Community Class Usage Examples

Méthodes publiques

Méthode Description
AddElement ( TimelineBand band ) : void
AddUrls ( TimelineUrlCollection urls ) : void
CheckCompleted ( ) : void

Checks that all controls resized and all data received

DataControlNotifier ( ) : System
DataControlNotifier ( TimelineUrlCollection urls, List bands ) : System
Start ( ) : void

Private Methods

Méthode Description
OnDataReadCompleted ( object sender, OpenReadCompletedEventArgs args ) : void

Occures every time next xml data file is available or error

OnSizeChanged ( object sender, RoutedEventArgs e ) : void
StartDataDownload ( ) : void

Method Details

AddElement() public méthode

public AddElement ( TimelineBand band ) : void
band TimelineBand
Résultat void

AddUrls() public méthode

public AddUrls ( TimelineUrlCollection urls ) : void
urls TimelineUrlCollection
Résultat void

CheckCompleted() public méthode

Checks that all controls resized and all data received
public CheckCompleted ( ) : void
Résultat void

DataControlNotifier() public méthode

public DataControlNotifier ( ) : System
Résultat System

DataControlNotifier() public méthode

public DataControlNotifier ( TimelineUrlCollection urls, List bands ) : System
urls TimelineUrlCollection
bands List
Résultat System

Start() public méthode

public Start ( ) : void
Résultat void