コード例 #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            this.Show();
            Application.DoEvents();

            MaxIterations = 64;
            Z0            = new Complex(0, 0);

            // Create some default colors.
            ResetColors();
            MandelbrotConfig frm = new MandelbrotConfig();

            frm.Initialize(this);
            frm.SetDefaultColors();
            frm.AcceptSelections();
            frm.Close();

            // Display the first Mandelbrot set.
            mnuScaleFull_Click(null, null);
        }