コード例 #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;
        }
コード例 #2
0
ファイル: App.xaml.cs プロジェクト: akillness/CSharp_Study
 void MainStartUp(object sender, StartupEventArgs e)
 {
     mainWindow = new CA_View();
     mainWindow.Show();
 }