1、首先设计好界面
2、然后编写DoDataExchange程式
3、然后编写OnInitDialog初始化程式
4、然后编写OnSysCommand程式
5、然后编写OnPaint绘制程式
6、最后编写OnSetlock锁程式