Hi,
I have drawn the rectangle using picture box paint. Now I like to edit
the drawn rectangle (Like to increase or decrease the length of the
drawn rectangle). how can i do this.
for code refer below link:
http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?ThreadID=87153
Loading
Nivas SadashivamPosted May 31, 2010, 7:47 AM
private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
{
if (mybitmap == null)
{
mybitmap = new Bitmap(sz.Width, sz.Height);
}
rect[count] = new Rectangle(e.X, e.Y, 0, 0);
this.Invalidate();
error as "Object reference not set to an instance of an object." (Null reference Exception was unhandled.)
how to solve this one....
Abhimanyu K VatsaPosted May 31, 2010, 6:22 AM
I hope I am wright.