开发者

VS in tutorial behaves differently?

开发者 https://www.devze.com 2023-02-03 23:57 出处:网络
I\'ve been watching this tutorial http://windowsclient.net/learn/video.aspx?v=296114. At the very begining empty Windows forms project is created in VS. When I create empty Windows forms project 开发者

I've been watching this tutorial http://windowsclient.net/learn/video.aspx?v=296114. At the very begining empty Windows forms project is created in VS. When I create empty Windows forms project 开发者_运维技巧I have there files: Form1, Program.cs. When the guy from the tutorial creates it he has Form1 and App.config files.

Why is that ? Can I Make my project run the GUI without having Main method (like in WPF but with Winforms) ?

Thank you


No, there will always be a Main method really. It's just that in VB projects I believe it's autogenerated and not even shown. There's no equivalent option in C#.

0

精彩评论

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