private void BtnOpenLevel_Click(object sender, EventArgs e) { LevelInfo li = ProjectController.LevelManager.GetLevelInfo(CurrentPointer.LevelGuid); if (li == null) { MessageBox.Show("The level could no longer be found in the project"); } else { ReubenController.EditLevel(li); } }
private void Open() { switch (SelectionType) { case SelectionType.Level: ReubenController.EditLevel(SelectedLevel); break; case SelectionType.World: ReubenController.EditWorld(SelectedWorld); break; } }