自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(27)
  • 资源 (18)
  • 收藏
  • 关注

转载 .NET 反射代码

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Reflection;namespace 反射{ class Program { static void Main(strin

2012-03-23 13:54:52 335

原创 WPF通过样式实现空值ToolTipe不显示

NullOrEmptyConverter  类 public class NullOrEmptyConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) {

2012-03-20 10:35:59 2240

转载 Volatile 线程安全的单例模式

using System;public sealed class Singleton{ private Singleton(){} private static volatile Singleton instance; private static object syncRoot = new object(); public static S

2012-03-15 16:03:06 2394

原创 类型 和返回值 的一个问题

看到了一个问题:public static IList a(){  b=new List();  return b;}这里不是返回一个List, 而是IList接口是什么意思呢?  也可以理解为 定义了一个object返回类型的方法,返回值为string类型的List 继承了IList接口为了帮助理解和相关延伸:写了如下代码:interface IWor

2012-03-15 14:55:14 377

原创 WPF项目通过ClickOnce部署,访问资源时路径莫名的多了一个Data目录

近来,发布好的WPF的项目本地运行一切正常,可是通过ClickOnce部署之后访问资源文件,路径上莫名的多了一个Data目录:Path=C:\Users\***\AppData\Local\Apps\2.0\*******\Data\dat\EPCData.sdf资源文件放在程序目录下的dat文件夹内数据库配置:不同的配置,DataDirectory的值有差异,可以添加

2012-03-14 08:55:32 995

转载 Step by Step Guide to Add a SQL Job in SQL Server 2005

2012-03-08 09:50:22 292

原创 WPF访问控件的父控件并且修改属性

private void expander1_Expanded(object sender, RoutedEventArgs e) { Expander ed = sender as Expander; Grid grid = ed.Parent as Grid; if (grid != null)

2012-03-05 09:58:02 2592

原创 【设计模式】之 Strategy 策略模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace DesignFactory.Strategy{ /// /// 策略模式 /// class

2012-03-05 09:43:26 362

原创 【设计模式】之 Template 模板方法

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.OleDb;namespace DesignFactory.Template{ /// /// 模板方法模式

2012-03-05 09:42:33 323

原创 【设计模式】之 Visitor 观察者模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace DesignFactory.Visitor{ /// /// 访问者模式 /// class

2012-03-05 09:41:28 376

原创 【设计模式】之 Observer 观察者模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace DesignFactory.Observer{ /// /// 观察者模式 /// class

2012-03-05 09:40:34 236

原创 【设计模式】之 Command 命令模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace DesignFactory.Command{ class CommandPattern { }

2012-03-05 09:39:13 324

原创 【设计模式】之 Chain of Responsibility 职责链模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace DesignFactory.ChainOfResponsibility{ /// /// 责任链模式 /// class ChainOfRespon

2012-03-05 09:37:34 287

原创 【设计模式】之 Bridge 桥梁模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace DesignFactory.Bridge{ /// /// 桥梁模式 /// class Br

2012-03-05 09:36:31 333

原创 【设计模式】之 Facade 门面模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace DesignFactory.Facade{ /// /// 门面模式 /// class FacadePattern { }

2012-03-05 09:35:31 283

原创 【设计模式】之 Flyweight享元模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace DesignFactory.Flyweight{ /// /// 享元模式 /// class

2012-03-05 09:34:36 247

原创 【设计模式】之 Proxy 代理模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.Remoting;namespace DesignFactory.Proxy{ /// /// 代理模式 /// 利用远程代理模式提供

2012-03-05 09:33:27 276

原创 【设计模式】之 Decorator 装饰模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace DesignFactory.Decorator{ /// /// 装饰模式 /// abstr

2012-03-05 09:29:10 269

原创 【设计模式】之 Composite 合成模式

. using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace DesignFactory{ /// /// 合成模式 /// 基本图像元素 直线 圆 //

2012-03-05 09:28:11 312

原创 【设计模式】之 Adapter 适配器模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace DesignFactory.Adapter{ /// /// 适配器模式 /// public interface ICar {

2012-03-05 09:26:11 265

原创 【设计模式】之 Prototype 原型模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace DesignFactory.Prototype{ /// /// 原型模式 /// 类,通过实现IClon

2012-03-05 09:24:35 222

原创 【设计模式】之 Builder 建造者模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace DesignFactory.Builder{ /// /// 建造者模式 /// clas

2012-03-05 09:23:25 208

原创 【设计模式】之 Singleton 单例模式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;using System.Threading;namespace DesignFactory.Singleton{ class Singleto

2012-03-05 09:22:07 219

原创 【设计模式】之 Abstract Factory 抽象工厂

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace DesignFactory.AbstractFactory{ /// /// Herbivore: 草食动物 /// Carnivore: 食肉动物

2012-03-02 16:05:21 232

原创 【设计模式】之 Factory Method 工厂方法

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace DesignFactory.FactoryMethod{ #region Product /// //

2012-03-02 16:01:35 228

原创 【设计模式】之 Simple Factory 简单工厂

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace DesignFactory{ /// /// 简单工厂 /// public abstract class Light {

2012-03-02 15:59:04 236

原创 流程图

2012-03-02 11:42:18 251

Spring.net

Spring.net

2016-07-21

Spring.NET + NHibernate + ASP.NET MVC + jQuery + easyUI

开源框架完美组合之Spring.NET + NHibernate + ASP.NET MVC + jQuery + easyUI 中英文双语言小型企业网站Demo Domain:领域模型 Dao:持久层 Service:服务层 WebSite:表示层 Common:通用类

2016-07-20

数据库设计与开发规范

数据库设计与开发规范

2016-07-20

项目开发各阶段文档模板

2016-06-13

.NET Reactor

.NET Reactor是一款功能强大的代码保护以及许可授权管理系统软件,主要用于开发人员保护其.NET软件程序,.NET Reactor支持所有支持.NET编译的程序开发语言

2015-12-14

EntitysCodeGenerate.zip

EntitysCodeGenerate,结合EA使用,在数据库和实体以及类图之间很好的流转。

2014-05-14

TFS 2010 修改模板

TFS 2010 修改模板

2013-11-15

winform安装项目、安装包的制作、部署

winform安装项目、安装包的制作、部署

2013-11-15

NPOI+2.0+alpha+binary.zip

NPOI+2.0+alpha+binary.zip

2013-03-11

WebLayout LingerUI

WebLayout LingerUI

2013-01-17

ligerRMV LIgerUi web

ligerRMV2freamwork3.5 demo web

2012-12-19

JsonDataCommon

JSON DAL 访问层 封装 freamwork 3.5

2012-12-19

EA文档结构图

EA文档结构图

2012-10-30

权限设计VSD

权限设计

2012-09-19

JSEnhancements vs2010 js 代码折叠插件

直接安装; JS代码 可以想c#一样折叠; tooltipe提示 折叠的内容;

2012-03-16

EditPlus.rar

还是很有用滴 EditPlus(文字编辑器)汉化版一套功能强大,可取代记事本的文字编辑器,EditPlus拥有无限制的撤消与重做、英文拼字检查、自动换行、列数标记、搜寻取代、同时编辑多文件、全屏幕浏览功能。而它还有一个好用的功能,就是它有监视剪贴板的功能,能够同步于剪贴板自动将文字粘贴进 EditPlus 的编辑窗口中,让你省去粘贴的步骤。另外它也是一个非常好用的 HTML 编辑器,它除了支持颜色标记、HTML 标记,同时支持 C、C++、Perl、Java,另外,它还内建完整的HTML & CSS1 指令功能,对于习惯用记事本编辑网页的朋友,它可帮你节省一半以上的网页制作时间,若你有安装 IE 3.0 以上版本,它还会结合IE 浏览器于 EditPlus 窗口中,让你可以直接预览编辑好的网页(若没安装IE,也可指定浏览器路径)。另外它也是一个好用的HTML网页编辑软件,除了可以颜色标记HTML Tag (同时支 援 C/C++、Perl、Java) 外,还内置完整的HTML和 CSS1 指令状态,支持 HTML, CSS, PHP, ASP, Perl, C/C++, Java, Javas cript and VBs cript;对于习惯用 记事本编辑网页的朋友,它可帮你节省一半以上的网页制作时间。倘若你有安装 IE 3.0以上版本,它还会结合IE 浏览器于EditPlus的窗口中,让你可以直接预览编辑好的网页(若没安装IE,也可指定浏览器路径)。是一个相当棒又多用途多状态的编辑软件。

2011-12-14

log4net.dll

几乎所有的大型应用都会有自己的用于跟踪调试的API。因为一旦程序被部署以后,就不太可能再利用专门的调试工具了。然而一个管理员可能需要有一套强大的日志系统来诊断和修复配置上的问题。 经验表明,日志记录往往是软件开发周期中的重要组成部分。它具有以下几个优点:它可以提供应用程序运行时的精确环境,可供开发人员尽快找到应用程序中的Bug;一旦在程序中加入了Log 输出代码,程序运行过程中就能生成并输出日志信息而无需人工干预。另外,日志信息可以输出到不同的地方(控制台,文件等)以备以后研究之用。 Log4net就是为这样一个目的设计的,用于.NET开发环境的日志记录包。 更多信息可以参考http://www.cnblogs.com/dragon/archive/2005/03/24/124254.html 更多问题可以留言索取DEMO

2011-12-14

Prismv4.exe

Prism是微软针对WPF,Silverlight以及Windows Phone推出的一套框架,可以帮助开发着轻松解耦自己的项目。Prism也有一些AOP的元素在里面,比如日志记录,但是Prism的主旨还是模块化程序。Prism提供了很多种手段进行注入,模块的动态加载,UI组合,命令系统,MVVM模式扩展等等。 Prism与容器的关系不得不说一下,Prism是基于依赖注入容器的,目前Prism4提供了两种容器支持,一种是Unity,一种MEF,两种容器的功能相似,但是还是有区别的,Unity可以与EntLib结合,实现AOP功能,我觉得这个很诱人,而MEF嵌入在.net框架里,并且可以自动发现程序集,下载XAP等等功能。

2011-12-14

空空如也

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

TA关注的人

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