Hello
I want to create a circle in picture box.I am trying to do the same but not getting the right output.
The code is as follow :
pictureBox1.Hei ght = 200;
pictureBox1.Wid th = 200;
pictureBox1.Bor derStyle = BorderStyle.Fix edSingle;
Graphics g = pictureBox1.Cre ateGraphics();
Rectangle rect = new Rectangle(0,0, 200, 200);
g.DrawEllipse(P ens.Black , rect);
So please help me to come out with this problem.
Thanking you in advanced.
I want to create a circle in picture box.I am trying to do the same but not getting the right output.
The code is as follow :
pictureBox1.Hei ght = 200;
pictureBox1.Wid th = 200;
pictureBox1.Bor derStyle = BorderStyle.Fix edSingle;
Graphics g = pictureBox1.Cre ateGraphics();
Rectangle rect = new Rectangle(0,0, 200, 200);
g.DrawEllipse(P ens.Black , rect);
So please help me to come out with this problem.
Thanking you in advanced.
Comment