DoodleJump.GameMainWindow.Drawing C# (CSharp) Method

Drawing() private method

private Drawing ( PaintEventArgs e ) : void
e PaintEventArgs
return void
        private void Drawing(PaintEventArgs e)
        {
            Graphics g = e.Graphics;
            g.DrawImage(new Bitmap("Resources/Jumper.bmp"), _calculator.DoodlJumper.Left, _calculator.DoodlJumper.Top + this.AutoScrollPosition.Y);

            DrawRungs(g);

            if (_calculator.DoodlJumper.Lose != true)
            {
                g.DrawString("Score:" + (ApplicationSettings.GameHight + this.AutoScrollPosition.Y).ToString(), new Font("Arial", 10), Brushes.Black, new RectangleF(0, 0, 100, 18));

            }
        }