private void buttonBack_Click(object sender, RoutedEventArgs e) { this.Close(); int count = App.dataVariable.CountWordRepetition; List <MyWord> lists = BdTools.GetRandomListMyWord(count); WindowsManager.CreateWindowRepetition(lists); }
private void buttonSprint_Click_1(object sender, RoutedEventArgs e) { List <MyWord> lists = BdTools.GetRandomListMyWord(App.dataVariable.CountWordSprint); if (lists != null) { WindowsManager.CreateWindowSprint(lists); } }
private void buttonWordConstructor_Click(object sender, RoutedEventArgs e) { List <MyWord> lists = BdTools.GetRandomListMyWord(App.dataVariable.CountWordTrenings); if (lists != null) { WindowsManager.CreateWindowBreyShtorm_3(lists, true); } }
private void buttonRepetition_Click(object sender, RoutedEventArgs e) { int count = App.dataVariable.CountWordRepetition; List <MyWord> lists = BdTools.GetRandomListMyWord(count); if (lists != null) { WindowsManager.CreateWindowRepetition(lists); } }
private void buttonWordTranslate_Click(object sender, RoutedEventArgs e) { List <MyWord> lists = BdTools.GetRandomListMyWord(App.dataVariable.CountWordTrenings); //ObservableCollection<MyWord> collec_5 = BdTools.ReadWord(3); ObservableCollection <MyWord> collectionTotal = BdTools.ReadWord(); if (lists != null && collectionTotal != null) { IEnumerable <MyWord> enumerable = collectionTotal.Except(lists); WindowsManager.GreateWindowBreyShtorm_2(lists, enumerable.ToList(), true); } }
private void buttonAudirovanie_Click(object sender, RoutedEventArgs e) { List <MyWord> lists = BdTools.GetRandomListMyWord(App.dataVariable.CountWordTrenings); if (lists != null) { try { WindowsManager.CreateWindowBreyShtorm_4(lists, true); } catch (Exception ex) { MessageBox.Show(ex.Message, "Внимание!", MessageBoxButton.OK, MessageBoxImage.Error); return; } } }
private void buttonAnswerFalse_Click(object sender, RoutedEventArgs e) { if (isFinish) { if (isCurrentBool == isBoolLeft) { isAnswerTrue = true; PlaySound(App.dataVariable.SoundYes); StartAnimationV(); } else { isAnswerTrue = false; PlaySound(App.dataVariable.SoundNo); StartAnimationX(); } } else { this.Close(); List <MyWord> lists = BdTools.GetRandomListMyWord(10); WindowsManager.CreateWindowSprint(lists); } }