Esempio n. 1
0
        private void Main_Start(object sender, EventArgs e)
        {
            Main.word.Content = "Please Wait";

            Method = new MethodsForModel();
            int pf = Method.ProverkaCounWordsForFilyter();

            if (pf == 0)
            {
                System.Windows.MessageBox.Show("По вашему фильтру выбрано 0 слов");
                Main.word.Content = "Выберете другой фильтр ! ";
            }
            else
            {
                System.Windows.MessageBox.Show("По вашему фильтру выбрано " + pf + " слов");

                Main.Next.IsEnabled = true;
                Main.Stop.IsEnabled = true;

                Main_NextMain(sender, e);
                Main.Start.IsEnabled = false;
                Main.m.Opacity       = 0.5;
                //   Main.m.IsEnabled = false;
                foreach (var R in RadioButList())
                {
                    R.IsEnabled = true;
                }
            }
        }