string ItemClick = "pan_ItemClick"; //方法名
System.Reflection.MethodInfo method = this.GetType().GetMethod(ItemClick);//通过反射获得方法对象
Delegate _Click = Delegate.CreateDelegate(typeof(ItemClickEventHandler), this, method);//创建委托
bar_btn.GetType().GetEvent("ItemClick").AddEventHandler(bar_btn, _Click);//将委托绑定到控件