DoodleJump.GameMainWindow.OnPaint C# (CSharp) Метод

OnPaint() защищенный Метод

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Результат void
        protected override void OnPaint(PaintEventArgs e)
        {
            LoseFormCalling();

            if (_DoodlJumper.FlyPhase == false)
            {
                FlyingUp();
            }

            DropOnStep();

            if ((_DoodlJumper.FlyPhase == true) && (_DoodlJumper.Lose != true))
            {
                FlyingDown();
            }

            BlackStepMove();

            DoodlAndStepsRefreshing();

            DrawScore(e);

            this.Invalidate();

            base.OnPaint(e);
        }