Example #1
0
        public MainWindow()
        {
            InitializeComponent();
            flightController = FlightController.GetInstance;
            fileHandler      = new FileHandler();

            passData_VM passdata = new passData_VM();

            data_viewer.SetVM(passdata);
            joyStick.SetVM(passdata);
        }
Example #2
0
 public void SetVM(passData_VM vm)
 {
     this.vm     = vm;
     DataContext = vm;
 }
Example #3
0
 public void SetVM(passData_VM vm)
 {
     this.vm             = vm;
     DataContext         = vm;
     vm.PropertyChanged += Vm_PropertyChanged;
 }