// Initiate models here partial void StartFacade_1() { slinestep = new SharedLinestep(this); // add ModelPlayer and set it's Notify funcions. player = new ModelPlayer("localhost", 5400, 0, parser.rowsList); player.PropertyChanged += delegate(Object sender, PropertyChangedEventArgs e) { NotifyPropertyChanged(e.PropertyName); }; }
// Initiate models here partial void StartFacade_2() { // add a new model here and set it's Notify funcions. ls = new SharedLinestep(this); this.stop = false; player.PropertyChanged += delegate(Object sender, PropertyChangedEventArgs e) { NotifyPropertyChanged(e.PropertyName); }; }
// Constructor public ModelGraphs(SharedLinestep linestep, csvParser parser) { this.linestep = linestep; this.parser = parser; }