Example #1
0
        public CA_View()
        {
            InitializeComponent();

            this.Width  = widthSize;
            this.Height = heightSize;

            girdMap = SetDynamicGrid(widthSize, heightSize, mapWidth, mapHeight);

            CAWindows = this;

            field = new int[mapWidth, mapHeight];

            cellPattern   = new List <string>();
            cellDensity   = new List <int>();
            patternMemory = new Queue <string>();

            Initialize();

            IsPerIter = false;

            this.Content = girdMap;
        }
Example #2
0
 void MainStartUp(object sender, StartupEventArgs e)
 {
     mainWindow = new CA_View();
     mainWindow.Show();
 }