No, but you can use threading to handle the time-consuming event, and then interrupt the thread on user input. Look at the BackgroundWorker.