各种小记 (function () { alert("222"); })(); JS匿名方法。 DecColorPicker.Properties.Resources.colorPicker); 引用Dll中资源。(通过属性资源添加)