2013年8月23日
摘要: 这个是子窗体的代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace WindowsFormsApplication1{ public partial class MyDialog : Form { public event EventHandler ... 阅读全文
posted @ 2013-08-23 10:21 雪山飞石 阅读(181) 评论(0) 推荐(0) 编辑
摘要: VS2012中对C#的支持度非常好,不管是编写方便程度(不需要插件就能高亮代码及代码自动提示功能),还对MFC的一些功能优化很多。我们可以修改两个工程文件来把VS2012的工程文件移植到VS2010中去。1、修改解决方案文件(.sln文件)。使用记事本打开,把里面的Microsoft Visual Studio Solution File, Format Version 12.00# Visual Studio 2012改成Microsoft Visual Studio Solution File, Format Version 11.00# Visual Studio 20102、修改工程文 阅读全文
posted @ 2013-08-23 09:38 雪山飞石 阅读(1075) 评论(1) 推荐(0) 编辑