private void RefreshStops()
        {
            if (_vmStops == null)
              {
            _vmStops = new StopsViewModel(_routeName, _flStops, _flStopsPending);
            StopsListBox.DataContext = _vmStops;
            StopPanel.DataContext = _vmStops;
            stopAttributesDataGrid.DataContext = _vmStops;
              }

              LookupFieldNames();
              if (_stopsRouteNameFieldName == null)
            return;

              string where = "1=1";
              if (!String.IsNullOrWhiteSpace(_routeName))
            where = (_stopsRouteNameFieldName + "='" + _routeName + "'");

              _vmStops.Update(_flStops, where);

              BindSelectedStop(false);
        }
예제 #2
0
 public Stop(StopsViewModel vmItems) :
     base(vmItems)
 {
     //
 }
예제 #3
0
 public Stop(StopsViewModel vmItems)
     : base(vmItems)
 {
     //
 }