示例#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();

            Colors.Add(frm.picColor_40.BackColor);
            Colors.Add(frm.picColor_17.BackColor);
            Colors.Add(frm.picColor_18.BackColor);
            Colors.Add(frm.picColor_19.BackColor);
            Colors.Add(frm.picColor_20.BackColor);
            Colors.Add(frm.picColor_21.BackColor);
            Colors.Add(frm.picColor_22.BackColor);
            Colors.Add(frm.picColor_23.BackColor);
            frm.Close();

            // Display the first Mandelbrot set.
            mnuScaleFull_Click(null, null);
        }
示例#2
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);
        }