去掉datagridview左边第一列DataGridView -> 属性 -> 设置RowHeadersVisible = False. Read More
posted @ 2012-05-02 17:36 咸鱼公子 Views(160) Comments(0) Diggs(0) Edit
第一种:单列模式我个人理解就是一个类只实例化一次staticmyclass instance=null;public myclass{if(instance==null){mc =new myclass();}}------------------------------第二种工厂模式/**//// <summary>/// EventLog类/// </summary>public class EventLog:Log{ public override void Write() { Console.WriteLine("EventLog Write Succ Read More
posted @ 2012-05-02 11:14 咸鱼公子 Views(173) Comments(0) Diggs(0) Edit
第一种:单列模式我个人理解就是一个类只实例化一次staticmyclass instance=null;public myclass{if(instance==null){mc =new myclass();}} Read More
posted @ 2012-05-02 11:13 咸鱼公子 Views(74) Comments(0) Diggs(0) Edit