不断积累,必然飞跃,突破随之!

相信自己,开拓生活!
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年4月21日

摘要: Ext.UpdateManager.defaults.indicatorText='<divclass="loading-indicator">加载中...</div>';if(Ext.DataView){Ext.DataView.prototype.emptyText="";}if(Ext.grid.GridPanel){Ext.grid.GridPanel.prototype.ddText="选择了{0}行";}if(Ext.TabPanelItem){Ext.TabPanelItem.pr 阅读全文

posted @ 2011-04-21 16:16 Tangyuan2017 阅读(1471) 评论(0) 推荐(0) 编辑

摘要: Ext.Panel 动态添加组件后,没有显示组件 。需要调用Ext.Panel 的doLayout()函数<scripttype="text/javascript">Ext.onReady(function(){varpanel=newExt.Panel({layout:'table',//table布局layoutConfig:{columns:4},//四列title:'::动态添加panel中的项::',renderTo:Ext.getBody(),height:300,collapse:false});for(vari=0 阅读全文

posted @ 2011-04-21 16:07 Tangyuan2017 阅读(1852) 评论(0) 推荐(0) 编辑

摘要: usingSystem;usingSystem.Runtime.InteropServices;usingSystem.Windows.Forms;usingSystem.Diagnostics;usingSystem.Reflection;namespaceOneInstance{///<summary>///Classwithprogramentrypoint.///</summary>internalsealedclassProgram{//Api声明,并声明一[DllImport("User32.dll")]privatestaticexte 阅读全文

posted @ 2011-04-21 15:38 Tangyuan2017 阅读(472) 评论(0) 推荐(0) 编辑

摘要: 比较常用的方法,在大部分浏览器都可以!当你单击鼠标右键会没有任何反应<scriptlanguage="javascript">document.oncontextmenu=newFunction("returnfalse;")</script> 阅读全文

posted @ 2011-04-21 15:32 Tangyuan2017 阅读(646) 评论(0) 推荐(0) 编辑

摘要: window.opener = null; //这里保证了不提示窗口window.open('', '_self');window.close();如果你使用的是firefox浏览器必须要做以下设置1、在地址栏输入about:config然后回车,警告确认2、在过滤器中输入”dom.allow_scripts_to_close_windows“,双击即可将此值设为true即可完成了 阅读全文

posted @ 2011-04-21 15:30 Tangyuan2017 阅读(172) 评论(0) 推荐(0) 编辑