Beispiel für traditionelles Event-Handling