silverfrost Site Admin
Joined: 29 Nov 2006 Posts: 191 Location: Manchester
|
Posted: Tue Sep 07, 2004 9:59 pm Post subject: Error in Mandelbrot example |
|
|
On some machine configurations the Mandelbrot .NET example program will crash with an "Invalid parameter used" unhandled exception when run.
Line 105 of form1.cs in the MandelbrotFrontend should be changed from
Code: | bitmap1 = new Bitmap(255,255); |
to
Code: | bitmap1 = new Bitmap(pictureBox1.Height-1, pictureBox1.Width-1); |
|
|