public override void Configure() //Configuration method { Generic2DFractalSettings dia = new Generic2DFractalSettings(); dia.Parameters = (IFractalParameters)this.Parameters.Clone(); if (dia.ShowDialog() == System.Windows.Forms.DialogResult.OK) { this.Parameters = dia.Parameters; } }
public override void Configure() { Generic2DFractalSettings dia = new Generic2DFractalSettings(); dia.FractalType = "FracMaster.NewtonFractalByIterationsRequired"; dia.Parameters = (IFractalParameters)this.Parameters.Clone(); if (dia.ShowDialog() == System.Windows.Forms.DialogResult.OK) { this.Parameters = dia.Parameters; } }
public override void Configure() //configuration window { Generic2DFractalSettings dia = new Generic2DFractalSettings(); dia.FractalType = "FracMaster.JuliaFractal"; dia.Parameters = (IFractalParameters)this.Parameters.Clone(); if (dia.ShowDialog() == System.Windows.Forms.DialogResult.OK) { this.Parameters = dia.Parameters; } }