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