public ChangeLevelForm()
        {
            InitializeComponent();

            _sokoban = new Sokoban();
            levelCollectionGrid.AutoGenerateColumns = false;
        }
Exemple #2
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            _sokoban = new Sokoban();
            _sokoban.LevelCompleted += new EventHandler(OnLevelCompleted);

            //GoToLevel(++_currentLevel);
        }