自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

jackfirst86的专栏

缤纷夏日

  • 博客(9)
  • 资源 (10)
  • 收藏
  • 关注

转载 .net中比较两幅图片是否相同

.net中的GDI+能非常方便的进行图象处理,但是并未直接提供进行图片比较的类或者方法,本文的目的是探讨如何进行图片比较。    首先要说明的是,进行比较的两幅图片必须具有相同的格式,并且最好是未经压缩的图片格式。否则,不能进行完全的相同性对比,只能做近似判断,比如各种颜色分量相

2011-07-28 16:03:18 881

转载 随机抽样一致性算法(RANSAC)

作者:王先荣    本文翻译自维基百科,英文原文地址是:http://en.wikipedia.org/wiki/ransac,如果您英语不错,建议您直接查看原文。    RANSAC是“RANdom SAmple Consensus(随机抽样一致)”的缩写。它可以从一组包含“局

2011-07-28 15:59:27 630

转载 确保真正的线程安全——微软为什么不提供线程安全库

线程安全在高并发情况下是一个非常严重的问题。以下代码在多线程访问时,会出现问题。我们以List.Add为例,来说明在多线程访问下的状况。以下代码是List.Add的实现。public void Add(T item){    if (this._size == this._items.Length) this.EnsureCapacity(this._size + 1);    t

2011-07-28 12:28:37 442

转载 如何写健壮的代码

不管是在面向过程时代,还是在面向对象时代,任何一个功能都是由若干函数协作来实现的。一个函数由输入、处理和输出组成。实现这个函数的代码段都假定了输入的参数已经满足了若干规则,在执行这个函数时,函数的代码会拿到输入的参数然后执行代理逻辑。下面我们就来看一个函数的代码。  1 priv

2011-07-28 12:18:01 533

转载 c#不可忍受之慢—谁是罪魁祸首

前些日子,爆出N篇说c#/.net太慢的,要求删除c#/.net部分特性的文章。    撇开那些文章不说,c#/.net慢似乎是业界公认的铁则,不论大家如何证明c#/.net其实不比c++慢多少,但是应用程序级别的性能却依然这么慢。    那么c#/.net慢在哪里?    很不

2011-07-28 11:59:31 461

转载 C#常用开源项目

net PDF 类库  PDFsharp       PDFsharp是一款可以让.NET框架支持的任何语言很容易的创建PDF文件的类库。ASP.NET FO PDF       FO PDF 是一款C#编写类似于ASP.NET服务器控件的控件。它接受DataTable 和一些其

2011-07-28 10:22:44 927

转载 你必须懂的.NET中Attribute

作为一个.NET开发人员,懂Attribute的重要性,用.NET大师Jeffrey Richter的话就是“任何.NET Framework 开发人员都有必要对定制attribute有一个牢靠的掌握”,所以掌握Attitude,这是必须的!   什么是Attribute(特性)

2011-07-28 10:12:05 604

原创 欧几里德算法及其扩展算法

一、欧几里德算法1、欧几里德算法概述:  欧几里德算法又称辗转相除法,用于计算两个整数a,b的最大公约数。其计算原理依赖于下面的定理:   gcd函数就是用来求(a,b)的最大公约数的。   gcd函数的基本性质:   gcd(a,b)=gcd(b,a)=gcd(-a,b)=gc

2011-07-26 15:38:58 1929

转载 几种经典的Hash算法实现

哈希算法将任意长度的二进制值映射为固定长度的较小二进制值,这个小的二进制值称为哈希值。哈希值是一段数据唯一且极其紧凑的数值表示形式。如果散列一段明文而且哪怕只更改该段落的一个字母,随后的哈希都将产生不同的值。要找到散列为同一个值的两个不同的输入,在计算上是不可能的,所以数据的哈希

2011-07-26 14:37:21 782

TortoiseSVN-1.7.6.22632.msi

TortoiseSVN-1.7.6.22632.msi 最新版 子文件夹里去掉了.svn文件夹,好用多了

2012-03-25

AnkhSvn-2.3.10838.msi

最新版 AnkhSvn-2.3.10838.msi 解决了很多BUG 支持vs2005、vs2008、vs2010、vs11

2012-03-25

Programming C#中文版(第4版).part3

Programming C#中文版(第4版).part3 很经典的C#教程,O'reilly出的。 挺清晰,但不是高清。

2011-07-27

DevComponents.DotNetBar v8.8.0.0.for.NET.part2.rar

功能极其强大的UI控件,适合DotNet全系列使用,效果在这里就不发了,可以去官方网站 www.devcomponents.com 。能够完美模仿Office2007风格,兼之更加强大的可以替代VS.Net自带控件。8.8新增了很多功能,包括 Office2010 样式、Ribbon 等等。 DotNetBar is world's first component to introduce fully featured Office 2010, Windows 7 and Office 2007 style Ribbon controls, first to provide full Windows XP Theme support, first to provide Diamond Docking Guides for dockable windows etc. With DotNetBar you always get latest advancements in user interface technology in your applications before anyone else. Partial list of DotNetBar Ribbon Control features: Office 2010 Styling with new Application Button and Windows 7 and Windows Vista Glass support Office 2010 style Backstage Application Menu Windows 7 Styling Quick Access Toolbar (QAT) support with full customization and placement control Black, Silver and Blue color schemes included Office 2010, Windows 7 and Office 2007 Style Application Button Office 2010, Windows 7 and Office 2007 Style form support Office 2010, Windows 7 and Office 2007 Style popup Galleries Integrated support for Contextual Tabs concept Predefined color schemes for tabs and tab groups Office 2010, 2007 style KeyTips (accelerator keys) both single key and multi-key are fully supported You can create Drop-down menus, even drop-down toolbars are fully supported You can add any standard DotNetBar items to the RibbonControl header One or more tabs can belong to Tab Groups. Tab groups are used to visually group similar tab commands. Usually they are used for contextual tabs that are shown based on active selection and disappear once something else is selected Full control over Tab Group header is provided. It can be hidden, font changed, height changed and appearance completely customized through ElementStyle appearance object (in Office 2003 style) You can add any VS.NET Windows Forms control to a Ribbon tabs. Keyboard Shortcuts are fully supported as well Windows Vista Glass support Custom Office 2010, Windows 7 and Office 2007 style color scheme generator based on single color Intelligent resizing of buttons on the Ribbon to fit the screen size

2010-09-19

DevComponents.DotNetBar v8.8.0.0.for.NET.part1.rar

功能极其强大的UI控件,适合DotNet全系列使用,效果在这里就不发了,可以去官方网站 www.devcomponents.com 。能够完美模仿Office2007风格,兼之更加强大的可以替代VS.Net自带控件。8.8新增了很多功能,包括 Office2010 样式、Ribbon 等等。 DotNetBar is world's first component to introduce fully featured Office 2010, Windows 7 and Office 2007 style Ribbon controls, first to provide full Windows XP Theme support, first to provide Diamond Docking Guides for dockable windows etc. With DotNetBar you always get latest advancements in user interface technology in your applications before anyone else. Partial list of DotNetBar Ribbon Control features: Office 2010 Styling with new Application Button and Windows 7 and Windows Vista Glass support Office 2010 style Backstage Application Menu Windows 7 Styling Quick Access Toolbar (QAT) support with full customization and placement control Black, Silver and Blue color schemes included Office 2010, Windows 7 and Office 2007 Style Application Button Office 2010, Windows 7 and Office 2007 Style form support Office 2010, Windows 7 and Office 2007 Style popup Galleries Integrated support for Contextual Tabs concept Predefined color schemes for tabs and tab groups Office 2010, 2007 style KeyTips (accelerator keys) both single key and multi-key are fully supported You can create Drop-down menus, even drop-down toolbars are fully supported You can add any standard DotNetBar items to the RibbonControl header One or more tabs can belong to Tab Groups. Tab groups are used to visually group similar tab commands. Usually they are used for contextual tabs that are shown based on active selection and disappear once something else is selected Full control over Tab Group header is provided. It can be hidden, font changed, height changed and appearance completely customized through ElementStyle appearance object (in Office 2003 style) You can add any VS.NET Windows Forms control to a Ribbon tabs. Keyboard Shortcuts are fully supported as well Windows Vista Glass support Custom Office 2010, Windows 7 and Office 2007 style color scheme generator based on single color Intelligent resizing of buttons on the Ribbon to fit the screen size

2010-09-19

(C#)ListViewEx--扩展 ListView

一个扩展ListView的源代码和Demo。 这个Listview的项可以编辑修改,使用ComboBox,DateTimePicker等。具体功能慢慢研究吧,代码也写的不错,有一定学习价值。

2009-11-28

(C#) 玻璃效果按钮

一个很好仿照Vista 系统的按钮,玻璃效果,很漂亮。内含源代码(C#)。

2009-11-23

IPBOX IP控件

一个可以输入和获取IP地址的控件,C#语言编写。本人一直使用,感觉不错。

2009-10-16

DotNetBar 7.X Source 源码

DotNetBar 一款极强的控件库,界面很好看,支持VisualStudio 2008。这是源码

2009-10-16

使用 Sniffer 工具进行TCPIP分析

使用 Sniffer 工具进行TCPIP分析

2008-11-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除