Esempio n. 1
0
        public void AddNewAnswerLayer(int offset, QuizAnswerLayer answerLayer)
        {
            var layerViewModel = new Layer(this, lessonModel, answerLayer);

            Layers.Add(new KeyValuePair <int, Layer>(offset, layerViewModel));
            CurrentLayerIndex = Layers.Count - 1; // Select the last Layer (which is the Answer Layer)
            CurrentLayer.DisplayChart();          // Compile Chart for the Layer
        }