private void Main_NextMain(object sender, EventArgs e) { threount[2]++; foreach (var r in RadioButList()) { r.IsChecked = false; r.IsEnabled = true; r.Foreground = Brushes.Black; } Main.TruOrFals.Content = null; // int rNewR = new Random().Next(0, 5); // Engl.DataBase.Word w = new DataBase.Word(); //---------------------------------------------------------- w = Method.RandomQuesion(); quest = Method.MethorOtherFiveRandom(w); ModelMain mm = Method.GetStringObject(w, quest) as ModelMain; Main.l1.Content = mm.L1; Main.l2.Content = mm.L2; Main.word.Content = mm.GetWord; Main.synonym.Content = mm.GetSynonym; for (int i = 0; i < RadioButList().Count; i++) { RadioButList().ElementAt(i).Content = mm.GetWordsQuest.ElementAt(i); } Main.LvL.Content = ForSerial.Lvl + ForSerial.sravnenieOstatka; Main.Progres.Value = Engl.Kateroris.DependencyPropertySub.LvlProgres; #region stars methodSTARS(); #endregion }