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; }
void MainStartUp(object sender, StartupEventArgs e) { mainWindow = new CA_View(); mainWindow.Show(); }