Пример #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);
            }
        }
Пример #2
0
        private void новыйСтандартногоРазмераToolStripMenuItem10_Click(object sender, EventArgs e)
        {
            JuliaEditor je = new JuliaEditor(CustomIncisionJulia == null? null:(IncisionOf3DJulia)CustomIncisionJulia.Fractal);

            if (je.ShowDialog(this) != DialogResult.Yes)
            {
                return;
            }
            RotationWidnow rw = new RotationWidnow();

            if (rw.ShowDialog(this) != DialogResult.Yes)
            {
                return;
            }
            if (CustomIncisionJulia == null)
            {
                CustomIncisionJulia = new FractalDataHandler(this, new IncisionOf3DJulia(rw.Rotater, 40, je.LeftEdge, je.RightEdge, je.TopEdge, je.BottomEdge, je.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.Fractal = new IncisionOf3DJulia(rw.Rotater, 40, je.LeftEdge, je.RightEdge, je.TopEdge, je.BottomEdge, je.Complex);
                CustomIncisionJulia.Reset(960, 640);
            }
        }
Пример #3
0
        private void новыйСтандартногоРазмераToolStripMenuItem9_Click(object sender, EventArgs e)
        {
            RotationWidnow rw = new RotationWidnow();

            if (rw.ShowDialog(this) != DialogResult.Yes)
            {
                return;
            }
            if (CustomIncisionMandelbrot == null)
            {
                CustomIncisionMandelbrot = new FractalDataHandler(this, rw.IncisionOf3DMandlebrot, MainFractalPictureBox, new CosColorMode(), new Size(960, 640), FractalControler);
                CustomIncisionMandelbrot.ConnectToolStripProgressBar(toolStripProgressBar1);
                CustomIncisionMandelbrot.ConnectShowToMenuItem(разрезТрёхмерногоВариантаToolStripMenuItem, FractalControler, 32, 32);
                CustomIncisionMandelbrot.ConntectToStatusLabel(toolStripStatusLabel1);
                CustomIncisionMandelbrot.Show();
            }
            else
            {
                CustomIncisionMandelbrot.Fractal = rw.IncisionOf3DMandlebrot;
                CustomIncisionMandelbrot.Reset(960, 640);
            }
        }
Пример #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);
     }
 }
Пример #5
0
 private void новыйСтандартногоРазмераToolStripMenuItem9_Click(object sender, EventArgs e)
 {
     RotationWidnow rw = new RotationWidnow();
     if (rw.ShowDialog(this) != DialogResult.Yes) return;
     if (CustomIncisionMandelbrot == null)
     {
         CustomIncisionMandelbrot = new FractalDataHandler(this, rw.IncisionOf3DMandlebrot, MainFractalPictureBox, new CosColorMode(), new Size(960, 640), FractalControler);
         CustomIncisionMandelbrot.ConnectToolStripProgressBar(toolStripProgressBar1);
         CustomIncisionMandelbrot.ConnectShowToMenuItem(разрезТрёхмерногоВариантаToolStripMenuItem, FractalControler, 32, 32);
         CustomIncisionMandelbrot.ConntectToStatusLabel(toolStripStatusLabel1);
         CustomIncisionMandelbrot.Show();
     }
     else
     {
         CustomIncisionMandelbrot.Fractal = rw.IncisionOf3DMandlebrot;
         CustomIncisionMandelbrot.Reset(960, 640);
     }
 }
Пример #6
0
 private void новыйСтандартногоРазмераToolStripMenuItem10_Click(object sender, EventArgs e)
 {
     JuliaEditor je = new JuliaEditor(CustomIncisionJulia==null? null:(IncisionOf3DJulia)CustomIncisionJulia.Fractal);
     if (je.ShowDialog(this) != DialogResult.Yes)return;
     RotationWidnow rw = new RotationWidnow();
     if (rw.ShowDialog(this) != DialogResult.Yes) return;
     if (CustomIncisionJulia == null)
     {
         CustomIncisionJulia = new FractalDataHandler(this, new IncisionOf3DJulia(rw.Rotater,40,je.LeftEdge,je.RightEdge,je.TopEdge,je.BottomEdge,je.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.Fractal = new IncisionOf3DJulia(rw.Rotater, 40, je.LeftEdge, je.RightEdge, je.TopEdge, je.BottomEdge, je.Complex);
         CustomIncisionJulia.Reset(960, 640);
     }
 }