Esempio n. 1
0
        private void поисковикToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            RotationWidnow rw = new RotationWidnow();

            if (rw.ShowDialog(this) != DialogResult.Yes)
            {
                return;
            }
            JuliaSearcher js = new JuliaSearcher(new IncisionOf3DJulia(rw.Rotater), new IncisionOf3DMandelbrot(rw.Rotater), new CosColorMode(), new CycleGradientColorMode());

            if (js.ShowDialog(this) != DialogResult.Yes)
            {
                return;
            }
            if (CustomIncisionJulia == null)
            {
                CustomIncisionJulia = new FractalDataHandler(this, new IncisionOf3DJulia(rw.Rotater, 40, -1.5, 1.5, -1.1, 1.1, js.Complex), MainFractalPictureBox, new CosColorMode(), new Size(960, 640), FractalControler);
                CustomIncisionJulia.ConnectToolStripProgressBar(toolStripProgressBar1);
                CustomIncisionJulia.ConnectShowToMenuItem(разрезТрёхмерногоВариантаToolStripMenuItem1, FractalControler, 32, 32);
                CustomIncisionJulia.ConntectToStatusLabel(toolStripStatusLabel1);
                CustomIncisionJulia.Show();
            }
            else
            {
                CustomIncisionJulia.SetNewFractal(new IncisionOf3DJulia(rw.Rotater, 40, -1.5, 1.5, -1.1, 1.1, js.Complex), js.FractalColorMode);
                CustomIncisionJulia.Reset(960, 640);
            }
        }
Esempio n. 2
0
        private void поисковикToolStripMenuItem_Click(object sender, EventArgs e)
        {
            JuliaSearcher js = new JuliaSearcher(new AmoebaLasVegas(), new TrioArgsCosColorMode());

            if (js.ShowDialog(this) != DialogResult.Yes)
            {
                return;
            }
            if (CustomJulia == null)
            {
                CustomJulia = new FractalDataHandler(this, js.AmoebaLasVegas, MainFractalPictureBox, js.FractalColorMode, new Size(960, 640), FractalControler);
                CustomJulia.ConnectToolStripProgressBar(toolStripProgressBar1);
                CustomJulia.ConnectShowToMenuItem(искатьЖюлиаToolStripMenuItem, FractalControler, 32, 32);
                CustomJulia.ConntectToStatusLabel(toolStripStatusLabel1);
            }
            else
            {
                CustomJulia.Fractal = js.AmoebaLasVegas; CustomJulia.FractalColorMode = js.FractalColorMode;
            }
            CustomJulia.Reset(960, 640);
        }
Esempio n. 3
0
 private void поисковикToolStripMenuItem_Click(object sender, EventArgs e)
 {
     JuliaSearcher js = new JuliaSearcher(new AmoebaLasVegas(),new TrioArgsCosColorMode());
     if (js.ShowDialog(this) != DialogResult.Yes) return;
     if (CustomJulia == null)
     {
         CustomJulia = new FractalDataHandler(this, js.AmoebaLasVegas, MainFractalPictureBox, js.FractalColorMode, new Size(960, 640), FractalControler);
         CustomJulia.ConnectToolStripProgressBar(toolStripProgressBar1);
         CustomJulia.ConnectShowToMenuItem(искатьЖюлиаToolStripMenuItem, FractalControler, 32, 32);
         CustomJulia.ConntectToStatusLabel(toolStripStatusLabel1);
     }
     else { CustomJulia.Fractal = js.AmoebaLasVegas; CustomJulia.FractalColorMode = js.FractalColorMode; }
     CustomJulia.Reset(960, 640);
 }
Esempio n. 4
0
 private void поисковикToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     RotationWidnow rw = new RotationWidnow();
     if (rw.ShowDialog(this) != DialogResult.Yes) return;
     JuliaSearcher js = new JuliaSearcher(new IncisionOf3DJulia(rw.Rotater),new IncisionOf3DMandelbrot(rw.Rotater), new CosColorMode(),new CycleGradientColorMode());
     if (js.ShowDialog(this) != DialogResult.Yes) return;
     if (CustomIncisionJulia == null)
     {
         CustomIncisionJulia = new FractalDataHandler(this, new IncisionOf3DJulia(rw.Rotater, 40,-1.5,1.5,-1.1,1.1,js.Complex), MainFractalPictureBox, new CosColorMode(), new Size(960, 640), FractalControler);
         CustomIncisionJulia.ConnectToolStripProgressBar(toolStripProgressBar1);
         CustomIncisionJulia.ConnectShowToMenuItem(разрезТрёхмерногоВариантаToolStripMenuItem1, FractalControler, 32, 32);
         CustomIncisionJulia.ConntectToStatusLabel(toolStripStatusLabel1);
         CustomIncisionJulia.Show();
     }
     else
     {
         CustomIncisionJulia.SetNewFractal(new IncisionOf3DJulia(rw.Rotater, 40, -1.5, 1.5, -1.1, 1.1, js.Complex),js.FractalColorMode);
         CustomIncisionJulia.Reset(960, 640);
     }
 }