xingd.net

.net related techonology

导航

2008年3月19日

摘要: 接着前一篇文章,Minesweeper: GDI+ 初步实现,本文在代码结构上做一些改进,不涉及新的功能。首先我们来看MineBoard类的Init方法:publicvoidInit(introws,intcolumns,intmines){if(rows<=0||columns<=0||mines>=columns*rows){thrownewArgumentException... 阅读全文

posted @ 2008-03-19 22:09 xingd 阅读(3186) 评论(0) 推荐(1) 编辑