So in this case if there is data on the serial port, the program would automatically stop what it was doing and it will go to the function serialPort1_DataReceived(), and it will display the messagebox saying "Serial port interrupt routine". After completing the routine, the program would then automatically continue where it left off when the interrupt occured.