not display drawing in PictureBox

csharp window programming , .net , csharp Myanmar
  • 11 years ago
    I used system.drawing.graphic in C# to draw the Rectangle and Ellipse in PictureBox. In my PC and other my buddy PC show the drawing graphic and color. But my customer PC doesn't show the drawing graphic. In my customer PC, i already installed .net Frame Work 2.0 (SP1). I don't know why missing? I write code like this... Pen penMi = Pens.Blue; void DrawAllMi(Graphics g) { g.DrawRectangle(penMi, x1 - 4, y1 - 4, 8, 8); g.DrawEllipse(penMi, x1 - 5, y1 - 5, 10, 10); }

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Before software should be reusable, it should be usable.” - Ralph Johnson