public MainViewModel()
        {
            _view             = new MainWindow();
            _view.DataContext = this;

            this.IsWaitingForConnection = true;
            this.SubSessionId           = 0;

            this.SimConnectionStatusChanged();

            _driverList  = new DriverListModel(this);
            _adminList   = new AdminListModel(this);
            _penaltyList = new PenaltyListModel(this);
            //_offtracksModel = new OfftracksViewModel(this);
            //_replayBarModel = new ReplayBarModel(this);
            //_trackBarModel = new TrackBarModel(this);
        }
예제 #2
0
        public MainViewModel()
        {
            _view = new MainWindow();
            _view.DataContext = this;

            this.IsWaitingForConnection = true;
            this.SubSessionId = 0;

            this.SimConnectionStatusChanged();

            _driverList = new DriverListModel(this);
            _adminList = new AdminListModel(this);
            _penaltyList = new PenaltyListModel(this);
            //_offtracksModel = new OfftracksViewModel(this);
            //_replayBarModel = new ReplayBarModel(this);
            //_trackBarModel = new TrackBarModel(this);

        }