Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Problem about pictureBox in Visual Studio C Sharp.NET ?

Hi,
I am designing a paint brush type program

Comments

  • im tooim too Member Posts: 42
    solution is here like as:
    [code][/code]Bitmap bmp = new Bitmap(pictureBox2.Width, pictureBox2.Height);
    Graphics g = Graphics.FromImage(bmp);
    Pen p = new Pen(Color.Red, 5);
    g.DrawEllipse(p, e.X, e.Y, 5, 7);
    pictureBox2.Image = bmp;[code][/code]
Sign In or Register to comment.