// Pomosna funkcinja koja gi isrctuva figurite koi se isti za site leveli
 public void DrawRectAndBalls(Graphics g)
 {
     g.DrawRectangle(p, Golem1);
     g.FillRectangle(b, Start1);
     g.FillRectangle(b, End1);
     BallOne.Draw(brushTopce, g);
     BallTwo.Draw(brushTopce, g);
     BallThree.Draw(brushTopce, g);
     BallFour.Draw(brushTopce, g);
     BallFive.Draw(brushTopce, g);
     BallSix.Draw(brushTopce, g);
     BallSeven.Draw(brushTopce, g);
     BallEight.Draw(brushTopce, g);
     BallNine.Draw(brushTopce, g);
     BallTen.Draw(brushTopce, g);
     BallEleven.Draw(brushTopce, g);
     BallTwelve.Draw(brushTopce, g);
 }
        // Metod za ctranje
        public void Draw(Graphics g)
        {
            //Crtanjve vo zavisnot od levelot
            if (BrojLevel == 2)
            {
                g.DrawImage(Properties.Resources.slikaKockiLevel1, 110, 90);
                g.DrawRectangle(p, Golem1);

                g.FillRectangle(b, End1);
                g.FillRectangle(b, Start1);
                g.DrawRectangle(p, 80, 160, 30, 30);
                g.DrawRectangle(p, 410, 90, 30, 30);
                BallOne.Draw(brushTopce, g);
                BallTwo.Draw(brushTopce, g);
                BallThree.Draw(brushTopce, g);
                BallFour.Draw(brushTopce, g);
                g.DrawLine(new Pen(Color.LightGreen, 2), new Point(110, 161), new Point(110, 189));
                g.DrawLine(new Pen(Color.LightGreen, 2), new Point(410, 91), new Point(410, 119));
            }
            else if (BrojLevel == 1)
            {
                g.DrawImage(Properties.Resources.slikaKocki, 110, 90);
                DrawRectAndBalls(g);
                g.DrawRectangle(p, 60, 150, 50, 40);
                g.DrawRectangle(p, 410, 150, 50, 40);
                g.DrawLine(new Pen(Color.LightGreen, 2), new Point(110, 151), new Point(110, 189));
                g.DrawLine(new Pen(Color.LightGreen, 2), new Point(410, 151), new Point(410, 189));
            }
            else if (BrojLevel == 3)
            {
                g.DrawImage(Properties.Resources.slikaKockiLevel3, 80, 90);

                DrawRectAndBalls(g);
                BallThirthteen.Draw(brushTopce, g);
                BallFourteen.Draw(brushTopce, g);
                BallFifteen.Draw(brushTopce, g);
                BallSixteen.Draw(brushTopce, g);
                g.DrawRectangle(p, 40, 130, 40, 70);
                g.DrawRectangle(p, 440, 130, 40, 70);
                g.DrawLine(new Pen(Color.LightGreen, 2), new Point(80, 131), new Point(80, 199));
                g.DrawLine(new Pen(Color.LightGreen, 2), new Point(440, 131), new Point(440, 199));
            }
        }