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.
Datei anzeigen Open project: TrakHound/TrakHound-Community Class Usage Examples

Public Methods

Method 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

Method 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 method

public AddElement ( TimelineBand band ) : void
band TimelineBand
return void

AddUrls() public method

public AddUrls ( TimelineUrlCollection urls ) : void
urls TimelineUrlCollection
return void

CheckCompleted() public method

Checks that all controls resized and all data received
public CheckCompleted ( ) : void
return void

DataControlNotifier() public method

public DataControlNotifier ( ) : System
return System

DataControlNotifier() public method

public DataControlNotifier ( TimelineUrlCollection urls, List bands ) : System
urls TimelineUrlCollection
bands List
return System

Start() public method

public Start ( ) : void
return void