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