EventHandler handler code uses inadequate form