Esempio n. 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     Iteration = 0;
     _Grid     = new Grid(pictureBox1.Width, pictureBox1.Height);
     Settings.Settings.GridSeedCount = (int)numericUpDown1.Value;
     _Grid.Seed();
 }
Esempio n. 2
0
        public Form1()
        {
            InitializeComponent();

            _Grid = new Grid(pictureBox1.Width, pictureBox1.Height);
            numericUpDown1.Value = Settings.Settings.GridSeedCount;
            RefreshSetting();
            _Grid.Seed();
            Iteration       = 0;
            trackBar1.Value = timer1.Interval;
            speed.Text      = trackBar1.Value.ToString();
        }