Exemplo n.º 1
0
 protected override void Reload(VMState state)
 {
     if (state != null)
     {
         SelectedBookItem = EDOUtils.FindOrFirst(books, state.State1);
     }
 }
Exemplo n.º 2
0
 protected override void Reload(VMState state)
 {
     CreateVariableInfos();
     CreateStatisticsInfos();
     if (state != null)
     {
         if (state.State1 != null)
         {
             SelectedVariableInfoItem = EDOUtils.Find(variableInfos, (string)state.State1);
         }
     }
     if (SelectedVariableInfoItem == null)
     {
         SelectedVariableInfoItem = EDOUtils.FindOrFirst(variableInfos, selectedVariableId); // keep selectedIndex when page changes
     }
 }
Exemplo n.º 3
0
 protected override void Reload(VMState state)
 {
     SelectedQuestionGroup = EDOUtils.FindOrFirst(questionGroups, state);
 }