摘要: 在网上看到过几种解决法,还是感觉用设计模式中的 Singleton 模式来完成较好publicclassForm2:System.Windows.Forms.Form{privatestaticForm2_Instance=null;//新增行publicstaticForm2Instance()//新增方法Instance来实例化Form2{if(_Instance==null)_Instanc... 阅读全文
posted @ 2005-06-15 15:25 Voyage 阅读(619) 评论(0) 推荐(0) 编辑