public ChangeLevelForm() { InitializeComponent(); _sokoban = new Sokoban(); levelCollectionGrid.AutoGenerateColumns = false; }
private void MainForm_Load(object sender, EventArgs e) { _sokoban = new Sokoban(); _sokoban.LevelCompleted += new EventHandler(OnLevelCompleted); //GoToLevel(++_currentLevel); }