public LifeViewer() { DoubleBuffered = true; fOptions = new LifeOptions(); fRules = new LifeRules(); fGrid = new LifeGrid(LifeConsts.DefaultGridWidth, LifeConsts.DefaultGridHeight); fHistory = new LifeHistory(LifeConsts.DefaultNumberOfHistoryLevels); fGridLineColor = LifeConsts.DefaultGridLineColor; fGridLineStyle = LifeConsts.DefaultGridLineStyle; }
public LifeViewer() { this.DoubleBuffered = true; this.fOptions = new LifeOptions(); this.fRules = new LifeRules(); this.fGrid = new LifeGrid(LifeConsts.DefaultGridWidth, LifeConsts.DefaultGridHeight); this.fHistory = new LifeHistory(LifeConsts.DefaultNumberOfHistoryLevels); this.fGridLineColor = LifeConsts.DefaultGridLineColor; this.fGridLineStyle = LifeConsts.DefaultGridLineStyle; }
public OptionsForm(LifeOptions options, LifeRules rules) { InitializeComponent(); this.fOptions = options; this.fRules = rules; edtGridHeight.Minimum = LifeConsts.MinGridHeight; edtGridHeight.Maximum = LifeConsts.MaxGridHeight; edtGridWidth.Minimum = LifeConsts.MinGridWidth; edtGridWidth.Maximum = LifeConsts.MaxGridWidth; }
public OptionsForm(LifeOptions options, LifeRules rules) { InitializeComponent(); fOptions = options; fRules = rules; edtGridHeight.Minimum = LifeConsts.MinGridHeight; edtGridHeight.Maximum = LifeConsts.MaxGridHeight; edtGridWidth.Minimum = LifeConsts.MinGridWidth; edtGridWidth.Maximum = LifeConsts.MaxGridWidth; }