Beispiel #1
0
 // Constructor
 public FractalGen(byte threads, PictureBox PB, fractalConfig FC)
 {
     NO_OF_THREADS = threads;
     this.PB       = PB;
     DrawArea      = new Bitmap(FC.width, FC.height);
     PB.Image      = DrawArea;
     this.FC       = FC;
 }
Beispiel #2
0
        // Initialize form
        public FormMain()
        {
            // Initialize
            InitializeComponent();

            // Create FractalConfig
            FC = new fractalConfig();
        }