Beispiel #1
0
        public BabyExercise()
        {
            InitializeComponent();

            exercise = Session.CurrentExercise;
            list = exercise.getTextsAsArrayChar();
            this.BackColor = Color.Pink;
            this.Refresh();

            stats = new Stats();

            pictureBox1.Load("1.jpg");

            index = 0;
            difficultyProgressBar.Minimum = 0;
            difficultyProgressBar.Maximum = list.Count;
            isRuning = true;

            watch = new Stopwatch();
            watch.Start();
            panel1.Visible = true;
            exerciseType = 1;

            listOfBox.Add(Letter1);
            listOfBox.Add(Letter2);
            listOfBox.Add(Letter3);
            listOfBox.Add(Letter4);
            listOfBox.Add(Letter5);

            initBoxList();

        }
Beispiel #2
0
        private void clearAll()
        {
            list = exercise.getTextsAsArrayChar();

            index = 0;
            difficultyProgressBar.Minimum = 0;
            difficultyProgressBar.Maximum = list.Count;
            isRuning = true;
            listBox1.Items.Clear();
            listBox1.Refresh();
            timer1.Enabled = true;
            timer1.Start();
            watch = new Stopwatch();
            watch.Start();
            stats = new Stats();
        }
Beispiel #3
0
        public ExerciseForm()
        {
            InitializeComponent();
            exercise = Session.CurrentExercise;
            list = exercise.getTextsAsArrayChar();

            stats = new Stats();

            pictureBox1.Load("1.jpg");

            index = 0;
            difficultyProgressBar.Minimum = 0;
            difficultyProgressBar.Maximum = list.Count;
            isRuning = true;

            watch = new Stopwatch();
            watch.Start();
        }
Beispiel #4
0
        private void clearAll()
        {
           
            list = exercise.getTextsAsArrayChar();

            index = 0;
            currentLabel = 0;
            difficultyProgressBar.Minimum = 0;
            difficultyProgressBar.Maximum = list.Count;
            isRuning = true;
            timer2.Enabled = true;
            timer2.Start();
            watch = new Stopwatch();
            watch.Start();
            stats = new Stats();
            foreach (Label labl in listOfBox)
            {
                labl.BackColor = Color.Blue;
            }

        }
Beispiel #5
0
        public void initStandartMode()
        {
            exercise = Session.CurrentExercise;
            list = exercise.getTextsAsArrayChar();
            this.BackColor = Color.AliceBlue;

            this.Refresh();

            stats = new Stats();

            pictureBox1.Load("1.jpg");

            index = 0;
            difficultyProgressBar.Minimum = 0;
            difficultyProgressBar.Maximum = list.Count;
            isRuning = true;

            watch = new Stopwatch();
            watch.Start();
            listBox1.Visible = true;
            exerciseType = 0;