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(); }
public MFSModel(FSClient flightSimulatorClient) { this.client = flightSimulatorClient; }