public bool ImportRomAndCreateNewProject(string romFilename) { // let the user select settings on the GUI var importController = new ImportRomDialogController { View = ProjectView.GetImportView() }; importController.View.Controller = importController; var importSettings = importController.PromptUserForRomSettings(romFilename); if (importSettings == null) { return(false); } CloseProject(); // actually do the import ImportRomAndCreateNewProject(importSettings); return(true); }