Exemplo n.º 1
0
        private void изменитьЦветовуюМодельToolStripMenuItem_Click(object sender, EventArgs e)
        {
            VisualColorControler vcc = new VisualColorControler(_mandelbrot.GetClone(), _m_fcm, panel1.Width, panel1.Height, null);

            if (vcc.ShowDialog(this) == DialogResult.Yes)
            {
                _m_fcm     = vcc.FractalColorMode;
                fpb1.Image = _m_fcm.GetDrawnBitmap(_m_fap);
            }
        }
Exemplo n.º 2
0
        private void изменитьЦветовуюМодельToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            VisualColorControler vcc = new VisualColorControler(((_2DFractal)_julia).GetClone(), _j_fcm, panel2.Width, panel2.Height, null);

            if (vcc.ShowDialog(this) != DialogResult.Yes)
            {
                return;
            }
            _j_fcm = vcc.FractalColorMode;
            ((_2DFractal)_julia).CreateParallelFractal(panel2.Width, panel2.Height, 0, 0, panel2.Width, panel2.Height);
        }
        public void ChangeColorMode()
        {
            VisualColorControler vcc = new VisualColorControler(_fractal.GetClone(), _fcm.GetClone(), _width, _height, _fap);

            if (vcc.ShowDialog(_owner) == DialogResult.Yes)
            {
                _fcm = vcc.FractalColorMode.GetClone();
                if (FractalColorModeChanged != null)
                {
                    FractalColorModeChanged(this, _fcm);
                }
                this.Show();
            }
        }
 public void ChangeColorMode()
 {
     VisualColorControler vcc = new VisualColorControler(_fractal.GetClone(), _fcm.GetClone(), _width, _height, _fap);
     if(vcc.ShowDialog(_owner)==DialogResult.Yes)
     {
         _fcm = vcc.FractalColorMode.GetClone();
         if (FractalColorModeChanged != null) FractalColorModeChanged(this, _fcm);
         this.Show();
     }
 }
Exemplo n.º 5
0
 private void изменитьЦветовуюМодельToolStripMenuItem_Click(object sender, EventArgs e)
 {
     VisualColorControler vcc = new VisualColorControler(_mandelbrot.GetClone(), _m_fcm, panel1.Width, panel1.Height,null);
     if (vcc.ShowDialog(this) == DialogResult.Yes)
     {
         _m_fcm = vcc.FractalColorMode;
         fpb1.Image = _m_fcm.GetDrawnBitmap(_m_fap);
     }
 }
Exemplo n.º 6
0
 private void изменитьЦветовуюМодельToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     VisualColorControler vcc = new VisualColorControler(((_2DFractal)_julia).GetClone(), _j_fcm, panel2.Width, panel2.Height, null);
     if (vcc.ShowDialog(this) != DialogResult.Yes) return;
     _j_fcm = vcc.FractalColorMode;
     ((_2DFractal)_julia).CreateParallelFractal(panel2.Width, panel2.Height, 0, 0, panel2.Width, panel2.Height);
 }