public void Set(string nameCellStructure, int numStates, string nameNeighborhoodFunc)
        {
            _settings.NumStates            = numStates;
            _settings.CellStructure        = CellStructure.Get(nameCellStructure);
            _settings.NeighborhoodFunction = NeighborhoodFunction.Get(nameNeighborhoodFunc);

            UpdateUi();
        }
 private void comboCellStructure_SelectedIndexChanged(object sender, EventArgs e)
 {
     _settings.CellStructure = CellStructure.Get(comboCellStructure.SelectedIndex);
     OnChanged();
 }