philzhou

导航

11 2012 档案

Multithreading in WinForms(转摘)
摘要:原文The .NET Framework has full support for running multiple threads at once. In this article, Patrick Steele looks at how threads accomplish their task and why you need to be careful how you manage a WinForms application with multiple threads.A user interface that is unresponsive will frustrate your 阅读全文

posted @ 2012-11-26 21:49 philzhou 阅读(281) 评论(1) 推荐(0) 编辑

map xml to entity
摘要:在使用xml作为系统配置时,免不了需要将xml文件读取出来,并转换成相应的实体。但是,如果需要自己去操作xml文件的每一个节点,将其组装成实体,这个工作确实相当繁琐的,所以一般我们会写一个实体,然后使用下面的这种方式来反序列化。[XmlRoot("PersonInfoXml")] public class Person{ [XmlElement("Name")] public Identifier PersonIdentify { get { if (mIdentify == null) mIdentify = new Identifier(); ret 阅读全文

posted @ 2012-11-18 22:36 philzhou 阅读(1299) 评论(2) 推荐(0) 编辑

MySql Service Installation
摘要:intall the mysqld as a windows service:mysqld.exe --install "MySQL01" --defaults-file=”d:\mysql\mysql.ini”net start “MySQL01” >NULmysqld.exe –-remove “MySQL01” 阅读全文

posted @ 2012-11-16 22:21 philzhou 阅读(231) 评论(0) 推荐(0) 编辑

Quartz.Net 配置
摘要:Quartz.Net is a very useful secheduling component, it can hanlde Interval, simple, cronExpresion pattern scheduling with some simple configuration.1. create a windows application with following reference.C5 is the generic collection class set as a complementary of .net framework.Since Quartz using C 阅读全文

posted @ 2012-11-16 00:25 philzhou 阅读(2055) 评论(0) 推荐(0) 编辑