static ConstructingScales()
        {
            listOfScales = new List<Scale>();
            string[] lines = VyukaHN.Properties.Resources.Scales.Split(null);

            foreach (var line in lines)
            {
                if (line.Equals(""))
                {
                    continue;
                }

                var items = line.Split(';');
                Scale scale = new Scale(items[0] + " " + items[1], items[1], ToneGraph.GetToneByName(items[2]), Convert.ToInt32(items[3]));

                listOfScales.Add(scale);
            }
        }
        private void NextExercise()
        {
            this.ChangeCSSAtributeOfNotes("visibility", "hidden");
            //this.AddPointerToFirstNote();
            this.ActualScale = listOfScales.ElementAt(this.RandomNumber(0, listOfScales.Count - 1));
            this.ActualNoteIndex.Value = "1";

            this.QuestionTone.InnerText = this.ActualScale.StartingTone.ToString();
            this.QuestionScale.InnerText = this.ActualScale.Name.ToString();
        }