예제 #1
0
 public MainViewModel(MySimulatorModel model)
 {
     this.model              = model;
     this.connectViewModel   = new ConnectViewModel(this.model);
     this.dashboardViewModel = new DashboardViewModel(this.model);
     this.joystickViewModel  = new JoystickViewModel(this.model);
     this.mapViewModel       = new MapViewModel(this.model);
 }
 public MainViewModel(MySimulatorModel model)
 {
     this.model            = model;
     this.connectViewModel = new ConnectViewModel(this.model);
 }