Example Of Event Driven Programming