diff --git a/Rajzolas/Form1.cs b/Rajzolas/Form1.cs index ac3ad6b..d65c4b0 100644 --- a/Rajzolas/Form1.cs +++ b/Rajzolas/Form1.cs @@ -29,6 +29,20 @@ namespace Rajzolas g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; g.DrawEllipse(toll, 100, 100, 180, 80); g.FillEllipse(ecset,250,300,50,600); + Brush ze = new SolidBrush(Color.Green); + g.FillRectangle(ze, 0, 200, 120, 40); + g.DrawRectangle(new Pen(Color.Black, 8.88f),10,300,85,85); + Point[] pontok = new Point[4]; + for (int i = 0; i < 5; i++) + { + pontok[0] = new Point(450, 80 + (i * 40)); + pontok[1] = new Point(480, 110 + (i * 40)); + pontok[2] = new Point(420, 110 + (i * 40)); + pontok[3] = new Point(450, 80 + (i * 40)); + g.DrawPolygon(toll, pontok); + } + + } } }