コード例 #1
0
 // 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);
     };
 }
コード例 #2
0
 // 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);
     };
 }
コード例 #3
0
 // Constructor
 public ModelGraphs(SharedLinestep linestep, csvParser parser)
 {
     this.linestep = linestep;
     this.parser   = parser;
 }