Exemplo n.º 1
0
 public ConfigurationWindow(IGestureRecognizer rec, GesturePack gestures)
 {
     // Take advantage of closure to get reference to the uninitialized view
     model = new ConfigurationModel(new ModelToViewAdapter(() => { return view; }), rec, gestures);
     view = new ConfigurationView(new ViewToModelAdapter(() => { return model;  }));
 }
Exemplo n.º 2
0
 public CalibrationWindow(IGestureRecognizer rec, GesturePack gestures)
 {
     model = new CalibrationModel(new ModelToViewAdapter(() => { return view; }), rec, gestures);
     view = new CalibrationView();
 }