var menuItem=new Ext.Net.MenuItem(); menuItem.Text='test'; menuItem.ID =1; menuItem.Listeners.Click.Handler ="alert('a');"
绑定事件方法如上