最近项目组发现在使用showModalDialog弹出窗体中如果包含IFrame对象,则IFrame对象占用的内存资源在窗体关闭后不会释放。弹出关闭反复多次后,IE浏览器内存占用可超过数百M,严重时IE浏览器报错,且无法关闭,只能通过杀进程的方式重启浏览器。经测试,使用open方式弹出也存在该问题。...
分类:
其他好文 时间:
2014-07-16 19:01:30
阅读次数:
203
Search and Replace - Multiple Files
Searching
To open the search panel for files, press Ctrl
+ Shift +
F. You can use thekeyboard to control some search panel options and search actions:
...
分类:
其他好文 时间:
2014-07-16 16:17:14
阅读次数:
212
引用using Shell32; private void Open_Click(object sender, RoutedEventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ...
分类:
其他好文 时间:
2014-07-16 16:13:10
阅读次数:
210
打开 Atlas Maker:NGUI -> Open -> Atlas Maker新建一个 "Icon Atlas"生成3个东西:分别是 png、prefab、material。这个 UIAtlas 就是记住了所有图片的x,y,w,h,等信息 拷贝这3个东西, atlas 就可以到处用了生成好之后...
分类:
其他好文 时间:
2014-07-16 15:23:46
阅读次数:
289
打开 Font Maker:NGUI->Open->Font Maker类型:Generated Bitmap最后将生成一个 prefab。这个 prefab 包含一个 UIFont 的脚本。UIFont 与 UIAtlas 的关系UIFont 使用了 UIAtlas 中的某个 Sprite。生成 ...
分类:
其他好文 时间:
2014-07-16 15:09:20
阅读次数:
248
文件命令打开单个文件vim file同时打开多个文件vim file1 file2 file3 ...在vim窗口中打开一个新文件:open file在新窗口中打开文件:split file切换到下一个文件:bn切换到上一个文件:bp查看当前打开的文件列表,当前正在编辑的文件会用[]括起来。:arg...
分类:
其他好文 时间:
2014-07-16 15:04:27
阅读次数:
230
libevent接口的使用是简单容易的、关键还是一些其它技术需要深入了解、如epoll!
下面文章来自open经验库:
libevent是一个基于事件触发的网络库,memcached底层也是使用libevent库。
总体来说,libevent有下面一些特点和优势:
* 事件驱动,高性能;
* 轻量级,专注于网络;
* 跨平台,支持 Windows、Linux、Mac Os等;...
分类:
其他好文 时间:
2014-07-16 11:05:32
阅读次数:
184
平时总遇到将数据写到txt中的情况,尤其是在调试程序看中间结果时,所以将代码保存下来,方便以后应用:
ofstream outfile;
string InitialFileName("Initial.txt");
string NewFileName("New.txt");
outfile.open(InitialFileName, ostream::app); /*...
分类:
编程语言 时间:
2014-07-16 10:46:58
阅读次数:
193