MenuItem miFile = new MenuItem() { Icon = Icon.PageAdd, Text = "添加文件", ID = "btnTopBarFolderAddFile" };
miFile.Listeners.Click.Handler = "Ext.net.DirectMethods.TopBarFolderAddFile();";
[DirectMethod]
public void TopBarFolderAddFile()
{
}
嗯,好了,谢谢!