//private LoadParamsViewModel _loadParamsViewModel; public ParametarsWindowViewModel() { _operationViewModel = OperationViewModel.GetInstance; _calibrationViewModel = CalibrationViewModel.GetInstance; _motionViewModel = MotionViewModel.GetInstance; _maintenanceViewModel = MaintenanceViewModel.GetInstance; _feedBackViewModel = FeedBackViewModel.GetInstance; _debugViewModel = DebugViewModel.GetInstance; _ioViewModel = IOViewModel.GetInstance; //_loadParamsViewModel = LoadParamsViewModel.GetInstance; }
public IOPage() { InitializeComponent(); DataContext = new IOViewModel(); Unloaded += OnUnload; }