开发者

What is the proper way of importing a form in C#?

i would like to import an existi开发者_Go百科ng form from visual studio 2010 into visual studio 2008.

all i want to do is create a new project in 2008 import form1 from 2010 and replace the existing one

what is the proper way to do this?


Just copy the YourForm.cs and YourForm.designer.cs into your 2008 project, and choose File->Add Existing Item. Choose the YourForm.cs file.

It should come up automatically.

Be aware, however, that you may run into issues if you've used any code in your form that is specific to .NET 4.0. Otherwise, it should work fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜