alexmen

专注.net软件开发,项目管理体系PMBOK.

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

08 2014 档案

摘要:常说”工欲善其事必先利其器”, 下面的一些工具软件,必能提高你的工作效率。开发相关Resharper(收费)如果说在VS中,必装的插件是什么,那么一定是Resharper.园中甚至有看到朋友因为老板不愿意掏钱买Resharper而辞职。(不过我觉得也对,如果老板认为工具比人值钱,跟这样的老板混,也没... 阅读全文
posted @ 2014-08-30 13:52 alexmen 阅读(1836) 评论(0) 推荐(0)

摘要:接上文.Net Attribute详解(上)-Attribute本质以及一个简单示例,这篇文章介绍一个非常实用的例子,相信你一定能够用到你正在开发的项目中。枚举类型被常常用到项目中,如果要使用枚举ToString方法直接输出字符串, 常常不是我们想要的输出,因为它是安装定义的名称输出字符串。比如你有... 阅读全文
posted @ 2014-08-30 13:49 alexmen 阅读(1282) 评论(0) 推荐(0)

摘要:Attribute的直接翻译是属性,这和Property容易产生混淆,所以一般翻译成特性加以区分。Attribute常常的表现形式就是[AttributeName], 随意地添加在class, method的头上,然后就能够产生各种各样奇特的效果和行为。比如关于序列化的标签[Serializable... 阅读全文
posted @ 2014-08-30 13:47 alexmen 阅读(267) 评论(0) 推荐(0)

摘要:有时我们需要只允许运行应用程序的一个实例,当进程启动时,如果发现应用程序的一个实例在运行,就自动停止运行。我们通常通过Mutex互斥体在Main函数中实现,通常的写法是[STAThread]static void Main(){ bool createNew; using (System... 阅读全文
posted @ 2014-08-30 13:44 alexmen 阅读(226) 评论(0) 推荐(0)

摘要:enum Direction{ [Description("Rover is facing to UP (Negtive Y)")] UP = 1, [Description("Rover is facing to DOWN (Positive Y)")] DOWN = 2,... 阅读全文
posted @ 2014-08-30 13:40 alexmen 阅读(1170) 评论(0) 推荐(0)

摘要:http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0604changhp/index.html 阅读全文
posted @ 2014-08-30 10:26 alexmen 阅读(124) 评论(0) 推荐(0)

摘要:1.多个变量赋值 SET(WLDMParam,WLMCParam)=(SELECT WLDM,WLMC FROM YC.YC_importplanInfo WHERE PlanCodeInfo=PlanCodeInfoParam);2.单个变量赋值 SELECT name into NameP... 阅读全文
posted @ 2014-08-30 10:21 alexmen 阅读(330) 评论(0) 推荐(0)

摘要:http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0902changwei/ 阅读全文
posted @ 2014-08-30 10:13 alexmen 阅读(874) 评论(0) 推荐(0)

摘要:IntroductionA while ago I bumped into an article presenting different ways to generate Fibonacci numbers using different languages but SQL was missing... 阅读全文
posted @ 2014-08-30 10:10 alexmen 阅读(234) 评论(0) 推荐(0)

摘要:First method: ConvertImagetobyte[]array:public byte[] imageToByteArray(System.Drawing.Image imageIn){ MemoryStream ms = new MemoryStream(); imageIn.Sa... 阅读全文
posted @ 2014-08-30 10:02 alexmen 阅读(376) 评论(0) 推荐(0)

摘要:IntroductionThreading enables program to perform concurrent processing so that it can do more than one operation at a time. WPF (Window Presentation F... 阅读全文
posted @ 2014-08-30 09:52 alexmen 阅读(337) 评论(0) 推荐(0)

摘要:Asynchronous socket communicationhttp://www.codeproject.com/Articles/1608/Asynchronous-socket-communicationDownload source files - 14 KbDownload demo ... 阅读全文
posted @ 2014-08-30 09:42 alexmen 阅读(264) 评论(0) 推荐(0)

摘要:1.CrashReporter.NET : Exception reporting library for C# and VB.NEThttp://crashreporterdotnet.codeplex.com/documentation2.Custom exceptions in C#.NETS... 阅读全文
posted @ 2014-08-30 09:40 alexmen 阅读(434) 评论(0) 推荐(0)

摘要:首先下载Visual Studio International Pack 1.0,官方下载地址:http://www.microsoft.com/downloads/zh-cn/details.aspx?FamilyID=44CAC7F0-633B-477D-AED2-99AEE642FC10&di... 阅读全文
posted @ 2014-08-22 21:08 alexmen 阅读(209) 评论(0) 推荐(0)