Exemplo n.º 1
0
        public MainWindow()
        {
            Program.words      = WordBase.getInstance();
            Program.adjectives = AdjectiveBase.getInstance();
            Program.LoadFromFile();
            ListOfWords = Program.words.wordList;

            minvalue   = 1;
            maxvalue   = Program.words.wordList.Count;
            startvalue = 10;

            InitializeComponent();

            wordList_lv.ItemsSource   = ListOfWords;
            NUDTextBox_LearnTest.Text = startvalue.ToString();
            NUDTextBox_OneTest.Text   = startvalue.ToString();
            NUDTextBox_ManyTest.Text  = startvalue.ToString();
            NUDTextBox_WriteTest.Text = startvalue.ToString();
            questionIndex             = 0;
        }