Beispiel #1
0
 private void Answer(ReadyAnswer result, bool isNewAnswer)
 {
     CheckMode = false;
     MessageAnsver.Clear();
     foreach (var res in result.ListResultAndCF)
     {
         MessageAnsver.Add(res.Key + "  КД=" + res.Value);
     }
     if (isNewAnswer)
     {
         User.AddResult(CurrentPurpose, result);
         TreeAns.RefreshTree(User.ListReadyAnswers);
     }
 }
Beispiel #2
0
 private void Reset()
 {
     User.Reset();
     TreeAns.Reset();
     MessageAnsver.Clear();
 }