コード例 #1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            // Place Ships
            ctrl.Setup();

            BuildGrid(playerPanel, playerGridButtons, false, false);
            BuildGrid(computerPanel, computerGridButtons, true, true);
        }