public Main() { this.ca = new AlgorithmCA(); InitializeComponent(); this.SetupUI(); this.SetupBrushes(); this.SetupGrid(); }
//Storing all UI stateButtons //private Dictionary<Button, EventsOfButton> stateButtons; //private Button activeStateButton = null; public Main() { this.ca = new AlgorithmCA(); InitializeComponent(); this.SetupUI(); this.SetupBrushes(); this.SetupGrid(); //this.SetupStateButtons(); timer1.Interval = 100; this.timer1.Start(); }