Beispiel #1
0
 public void btnStarOnCLick()
 {
     MemoryTrainCurrent = list[counter];
     lstDataEntity.Add(MemoryTrainServices.Validate(MemoryTrainCurrent, TypeQuestion, Shapes.Star, Colors.Green));
     UpdateImageAndTexts();
     counter++;
 }
Beispiel #2
0
 public void btnTriangleOnCLick()
 {
     MemoryTrainCurrent = list[counter];
     lstDataEntity.Add(MemoryTrainServices.Validate(MemoryTrainCurrent, TypeQuestion, Shapes.Triangle, Colors.Yellow));
     UpdateImageAndTexts();
     counter++;
 }
Beispiel #3
0
 // Use this for initialization
 void Start()
 {
     try
     {
         stopwatch.Start();
         list = MemoryTrainServices.GetShapes();
         UpdateImageAndTexts();
     }
     catch (System.Exception)
     {
         //
     }
 }