上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 65 下一页
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.IO.Compression;using System.Runtime.Serialization.Formatters.Binary;namespace NetMethod{ public class SerializerZip { public static byte[] Serialize(object obj) { ... 阅读全文
posted @ 2013-07-18 16:15 94cool 阅读(188) 评论(0) 推荐(0)
摘要: 使用solidBrush新建画刷,定义画刷的颜色为透明色Brush b = new SolidBrush(Color.FromArgb(50, Color.Green));这里的50是透明度的设置,范围从0-255;0:无颜色 255:不透明 阅读全文
posted @ 2013-07-16 09:55 94cool 阅读(636) 评论(0) 推荐(0)
摘要: FLASH吸血鬼是众多网友用来从exe可执行文件中提取swf的利器,其直接读取内存,从内存中取出swf文件。经过分析,发现其原理还是比较简单的。第一步。通过GetWindowThreadProcessId函数获得进程PID。为以后基本的进程内存搜索奠定基础。第二步。通过OpenProcess打开前面获得的pid的进程对象。第三步。通过VirtualQueryEx函数和ReadProcessMemory函数遍历进程的内存,在内存中搜索swf文件的文件头“CWS”和“FWS”。如果搜索到,则进行解密,并输出swf文件。 阅读全文
posted @ 2013-07-12 14:02 94cool 阅读(537) 评论(0) 推荐(0)
摘要: 1 public static class NetCDF 2 { 3 [DllImport("netcdf4.dll")] 4 public static extern int nc_put_att_uchar(int ncid, int varid, string name, NcType xty 阅读全文
posted @ 2013-07-04 10:33 94cool 阅读(7454) 评论(41) 推荐(1)
摘要: Java代码NetCDF1NetCDF1.1概述(Overview)NetCDF(networkCommonDataForm)isasetofsoftwarelibrariesandmachine-independentdataformatsthatsupportthecreation,access,andsharingofarray-orientedscientificdata.DistributionsareprovidedforJavaandC/C++/Fortran.SeethenetCDFwebsiteformoreinformation.NetCDF全称为networkCommon 阅读全文
posted @ 2013-06-28 09:48 94cool 阅读(7436) 评论(1) 推荐(0)
摘要: HDF-EOS数据格式介绍 HDF(Hierarchy Data Format )数据格式是美国伊利诺伊大学国家超级计算应用中心(NCSA ,National Central for Super computing Applications)于1987 年研制开发的一种软件和函数库,用于存储和分发科学数据的一种自我描述、多对象的层次数据格式,主要用来存储由不同计算机平台产生的各种类型科学数据, 适用于多种计算机平台,易于扩展。HDF 不断发展, 已被广泛应用于环境科学、地球科学、航空、海洋、生物等许多领域,来存储和处理各种复杂的科学数据。 1993 年美国国家航空航天局(NAS... 阅读全文
posted @ 2013-06-28 09:45 94cool 阅读(6254) 评论(0) 推荐(0)
摘要: http://www.cams.cma.gov.cn/cams_973/cheres_docs/cheres_doc_sat.modis.1b.html一、 HDF文件格式1.概述HDF 是美国国家高级计算应用中心(National Center for Supercomputing Application)为了满足各种领域研究需求而研制的一种能高效存储和分发科学数据的新型数据格式。一个HDF文件中可以包含多种类型的数据,如栅格图像数据,科学数据集,信息说明数据。这种数据结构,方便了我们对于信息的提取。例如,当我们打开一个HDF图像文件时,除了可以读取图像信息以外,还可以很容易的查取其地理定位 阅读全文
posted @ 2013-06-28 09:44 94cool 阅读(6948) 评论(0) 推荐(0)
摘要: string[] input = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };int[] output = Array.ConvertAll(input, delegate(string s) { return int.Parse(s); });注:使用Array类中的静态泛形式方法ConvertAll进行转换delegate(string s) { return 阅读全文
posted @ 2013-06-24 15:54 94cool 阅读(485) 评论(0) 推荐(0)
摘要: 做好产品需求文档的这十步,是经过长期的实践经验和反复验证而得到的。可能这里描述的不是很全面,但他已经足够让你做一个成功的产品需求文档。做好这几步花费的时间要以项目的大小、复杂程度、个体学识、基本技能熟练度而定。第一步:做好准备工作你要做的是一个让人无可争议的产品,为了做好他,你必须做好前期的准备工作。你需要去了解你的顾客、竞争对手、产品团队的实力和需要的技术。你需要从顾客、用户、竞争对手、分析师、产品团队、销售队伍、市场、公司职员等收集他们能发现的问题和可能的解决办法。这里有很多的工作需要你去完成,在“成功的产品背后”这篇文章中有详细的描述。建立良好的交流也非常重要,它会影响着产品团队。如果你 阅读全文
posted @ 2013-06-20 15:18 94cool 阅读(272) 评论(0) 推荐(0)
摘要: /// <summary> /// 双击选择播放列表项进行播放 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void lv_playlist_MouseDoubleClick(object sender, MouseEventArgs e) { ListViewHitTestInfo info = lv_playlist.HitTest(e.X, e.Y); 阅读全文
posted @ 2013-06-20 15:09 94cool 阅读(19033) 评论(0) 推荐(0)
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 65 下一页