public static string GetScriptEventCode(UIElement e, HtmlNode objNode, params string[] eventDefineCodes)
        {
            var attr    = new ScriptEventAttribute(eventDefineCodes);
            var defines = attr.Defines;

            return(GetScriptEventCode(e, objNode, defines));
        }
        /// <summary>
        /// 获取脚本事件的扩展代代码
        /// </summary>
        /// <param name="obj"></param>
        /// <param name="objNode"></param>
        public static string GetScriptEventCode(UIElement e, HtmlNode objNode)
        {
            var attr    = ScriptEventAttribute.GetAttribute(e.ObjectType);
            var defines = attr.Defines;

            return(GetScriptEventCode(e, objNode, defines));
        }