Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
        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;
        }
Ejemplo n.º 4
0
        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;
        }