Modularize BindTabEvent Method