上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 63 下一页
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text; namespaceConTest{ publicclassBaseA{publicstaticMyTesta1=newMyTest("a1");publicMyTesta2=newMyTest("a2");staticBaseA(){MyTesta3=newMyTest("a3");}publicBaseA(){MyTesta4=newMyTest("a4") 阅读全文
posted @ 2013-04-14 22:28 Predator 阅读(159) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSystem.Windows.Forms; namespaceTreeView{publicpartialclassfrmMain:Form{publicfrmMain(){InitializeComponent();} privatevoidfrmMain_Load(objectsender,Event 阅读全文
posted @ 2013-04-14 21:23 Predator 阅读(242) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.IO; namespaceFindAllFiles{classProgram{publicstaticvoidFindAllFile(stringpath){try{if(path==""||!Directory.Exists(path)){Console.WriteLine("输入的文件夹路径无效!");return;}string[]files=Directory.GetF 阅读全文
posted @ 2013-04-14 20:33 Predator 阅读(489) 评论(0) 推荐(0) 编辑
摘要: (一)建立接口类库IDialog,添加接口文件IShowDialog.csusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text; namespaceIDialog{publicinterfaceIShowDialog{voidShowMyDialog(); }}(二)新建插件,添加类库Dialog,实现接口IDalog类Dialog,添加IDialog接口类库的引用就不必多说了usingSystem;usingSystem.Collections.Generic;usingSystem.Li. 阅读全文
posted @ 2013-04-14 18:02 Predator 阅读(272) 评论(0) 推荐(0) 编辑
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 63 下一页