摘要: function SetHome(obj, vrl) { try { obj.style.behavior = 'url(#default#homepage)'; obj.setHomePage(vrl); } catch (e) { if (window.netscape) { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); ... 阅读全文
posted @ 2013-11-26 15:05 米兰_跳跳虎 阅读(216) 评论(0) 推荐(0) 编辑
摘要: public class Process{ public Process() { } public static void Execute(Action action) { try { //ACTION-- 封装一个方法,该方法不具有参数并且不返回值。 action.Invoke();//执行委托方法 //return true; } catch (Exception... 阅读全文
posted @ 2013-11-26 14:43 米兰_跳跳虎 阅读(279) 评论(0) 推荐(0) 编辑