示例#1
0
 void App_Startup(object sender, StartupEventArgs e)
 {
     Model.FSClient client = new Model.FSClient();
     Model.MFSModel model  = new Model.MFSModel(client);
     Controls = new ViewModel.ControlsVM(model);
     Dash     = new ViewModel.DashBoardVM(model);
     Map      = new ViewModel.MapVM(model);
     window   = new MainWindow();
     window.Show();
 }
示例#2
0
 public MFSModel(FSClient flightSimulatorClient)
 {
     this.client = flightSimulatorClient;
 }