예제 #1
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);
            }
        }
예제 #2
0
        private void новыйСтандартногоРазмераToolStripMenuItem6_Click(object sender, EventArgs e)
        {
            JuliaEditor je;

            if (CustomJulia == null)
            {
                je = new JuliaEditor();
            }
            else
            {
                je = new JuliaEditor((Julia)CustomJulia.Fractal);
            }
            if (je.ShowDialog(this) != DialogResult.Yes)
            {
                return;
            }
            if (CustomJulia == null)
            {
                CustomJulia = new FractalDataHandler(this, je.Julia, MainFractalPictureBox, new My2DClassicColorMode(), new Size(960, 640), FractalControler);
                CustomJulia.ConnectToolStripProgressBar(toolStripProgressBar1);
                CustomJulia.ConnectShowToMenuItem(настроенныйToolStripMenuItem, FractalControler, 32, 32);
                CustomJulia.ConntectToStatusLabel(toolStripStatusLabel1);
            }
            else
            {
                CustomJulia.Fractal = je.Julia;
            }
            CustomJulia.Reset(960, 640);
        }
예제 #3
0
 private void новыйСтандартногоРазмераToolStripMenuItem6_Click(object sender, EventArgs e)
 {
     JuliaEditor je;
     if (CustomJulia == null) je = new JuliaEditor();
     else je = new JuliaEditor((Julia)CustomJulia.Fractal);
     if (je.ShowDialog(this) != DialogResult.Yes) return;
     if (CustomJulia == null)
     {
         CustomJulia = new FractalDataHandler(this, je.Julia, MainFractalPictureBox, new My2DClassicColorMode(), new Size(960, 640),FractalControler);
         CustomJulia.ConnectToolStripProgressBar(toolStripProgressBar1);
         CustomJulia.ConnectShowToMenuItem(настроенныйToolStripMenuItem, FractalControler, 32, 32);
         CustomJulia.ConntectToStatusLabel(toolStripStatusLabel1);
     }
     else CustomJulia.Fractal = je.Julia;
     CustomJulia.Reset(960,640);
 }
예제 #4
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);
     }
 }