Beispiel #1
0
        private void buttonOption(Control c)
        {
            DisableButtons();
            if (c.BackColor != butColor)
            {
                gintButtonsPushed += 1;

                c.BackColor = butColor;


                if (gintButtonsPushed == 4)
                {
                    ShowAnswerButton();
                }
            }
            else
            {
                if (gintButtonsPushed >= 4)
                {
                    gintButtonsPushed++;
                }
            }

            gboolGuessButPushed = true;

            TheChart chrt = TheChart.GetInstance();

            t = new Thread(() => chrt.Animation(this, DrawPoint, double.Parse(c.Text), IncreaseSubgraphs, DrawSubGraphs, FinishAnimation, gboolGuessButPushed, StartMessageConfirm));
            t.Start();
        }
Beispiel #2
0
        //For multi use
        private void FinishApplyChanges(bool lessThanAnimation, double oldKStar)
        {
            gboolLessThanAnimation = lessThanAnimation;

            //btnSkip.Enabled = true;
            btnSkip.Visible = true;
            btnSkip.Select();
            TheChart chrt = TheChart.GetInstance();

            t = new Thread(() => chrt.Animation(this, DrawPoint, oldKStar, IncreaseSubgraphs, DrawSubGraphs, FinishAnimation, gboolGuessButPushed, StartMessageConfirm));
            t.Start();
        }