Beispiel #1
0
 internal void SetVehicle(DataModel.AnalyseRecord tmp)
 {
     if (m_viewModel == null)
     {
         m_viewModel = new SingleResultDetailViewModel();
     }
     if (tmp == null)
     {
         Clear();
     }
     else
     {
         Init(tmp);
     }
     simpleButtonPriv.Enabled = m_viewModel.IsCanPriv(vehicleID);
     simpleButtonNext.Enabled = m_viewModel.IsCanNext(vehicleID);
 }
Beispiel #2
0
 public void SetAnalyseResults(List <AnalyseRecord> results)
 {
     m_viewModel = new SingleResultDetailViewModel();
     m_viewModel.AnalyseResults = m_analyseResults = results;
 }