示例#1
0
        public Form1()
        {
            InitializeComponent();

            mandelbrot = new Mandelbrot();
            buffer = new Bitmap(Width, Height);
            graphics = this.CreateGraphics();
            UpdateProgress update = new UpdateProgress(updateProgress);
            mandelbrot.PercentChanged += new EventHandler(update);
        }
示例#2
0
 public void test_setup()
 {
     testMandelbrot = new Mandelbrot();
 }