.Net
文章平均质量分 54
jswxharry
这个作者很懒,什么都没留下…
展开
-
利用ColorTranslator类快速地互换颜色码
from: http://demo.tc/Post/210♥小提醒:首先我們要using System.Drawing 這個命名空間▲ 之前我們轉#FF99CC讓它變ARGB的時候需要寫成這樣string myColor = "#99ffcc"; MatchCollection hColor = Regex.Matches(myColor, @"([0-9A-Fa-f]转载 2012-04-02 11:25:37 · 1074 阅读 · 0 评论 -
Visual studio 中Assembly 的版本管理的一些做法
以下是我在网上找到的一些参考文章:1. http://www.codeproject.com/Articles/328977/The-Right-Way-to-Version-Your-Assemblies2. http://www.codeproject.com/Articles/7178/Managing-assembly-version-numbers-using-Visual-St原创 2013-12-16 18:00:04 · 1249 阅读 · 0 评论 -
Assembly Version 和 Assembly File Version 的区别与使用
.NET framework provides opportunity to set two different types of version numbers to each assembly. Assembly Version : This is the version number used by framework during build and at runtime to转载 2013-12-16 19:08:18 · 1727 阅读 · 0 评论 -
.Net版本相关属性以及全局的版本控制策略与流程
http://trycatch.me/global-assembly-versioning-strategy-development-workflows-for-net-assemblies/转载 2013-12-16 19:21:12 · 680 阅读 · 0 评论 -
C# 中时区的查讯和转换
我们会需要把 local 时间转换成某一时区的时间, 这里用.Net 的内置方法来实现: ///UTC 时间 DateTime dt = TimeZoneInfo.ConvertTimeToUtc(DateTime.Now, TimeZoneInfo.Local); Console.WriteLine(dt.ToString原创 2014-01-15 13:25:19 · 3431 阅读 · 0 评论 -
Numeric RegEx Mask
\d+\.?\d+原创 2014-07-18 10:48:33 · 1088 阅读 · 0 评论 -
ILSpy 开源的.Net代码反编译软件
http://ilspy.net/翻译 2014-10-26 14:33:56 · 692 阅读 · 0 评论 -
Key down, key up, key press 的区别
The keydown, keypress and keyup events fire when the user presses a key.keydownFires when the user depresses a key. It repeats while the user keeps the key depressed.keypressFires when an actual cha转载 2013-04-12 13:57:03 · 1997 阅读 · 0 评论 -
基于System.Security.Cryptography.SymmetricAlgorithm 的私钥加密解密帮助类
public class SymetricAlgrithmCryptographyHelper where ST : SymmetricAlgorithm, new() where ET : Encoding, new() { /// /// KeySault is to fill the key if input原创 2013-03-27 18:38:01 · 1207 阅读 · 0 评论 -
基于Gzip的压缩解压缩帮助类
public class MsgCompressHelper { public static byte[] Compress(string str, Encoding encoding) { return Compress(ConvertStringToBytes(str, encoding));原创 2013-03-28 09:45:29 · 552 阅读 · 0 评论 -
C# 相对路径和系统路径
转自: http://blog.sina.com.cn/s/blog_55dbebb00100dm4u.html 大杀器:Path.GetDirectoryName(stringpath) --> Returns the directory information for the specified path string. 一、获取当前文件的路径1. Syste转载 2012-08-23 16:10:24 · 673 阅读 · 0 评论 -
WCF 应用概念
http://www.cnblogs.com/artech/archive/2007/02/26/656901.html转载 2012-09-10 00:22:33 · 328 阅读 · 0 评论 -
WPF 入门
http://wenku.baidu.com/view/b4bf26687e21af45b307a8fd.html转载 2012-10-12 18:56:35 · 271 阅读 · 0 评论 -
The Sticky Component Framework
找时间细看翻译http://wpfglue.wordpress.com/2009/12/11/the-sticky-component-framework/转载 2012-12-07 18:02:55 · 286 阅读 · 0 评论 -
How to detect and avoid memory and resources leaks in .NET applications
http://madgeek.com/articles/leaks/leaks.en.html转载 2012-12-07 18:37:21 · 357 阅读 · 0 评论 -
Error Provider Cannot display &
Use triple ampersand instead. '&&&' --> '&'Strange phenomenon, more details please refer to below link:http://stackoverflow.com/questions/7441032/system-windows-forms-errorprovider-displaying-char转载 2013-02-15 14:46:22 · 427 阅读 · 0 评论 -
如何在需要的时候通过命令行触发事件来运行SSRS的报表订阅
Original article:How to run a subscription on demand by Trigerring Events in SSRS from command line 1. In Management studio connect to the Database Engine (local)2. Expand the转载 2013-04-01 13:01:09 · 862 阅读 · 0 评论 -
WPF 学习资源收集
WPF核心对象模型-类图和解析原创 2015-04-16 09:53:59 · 658 阅读 · 0 评论