且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 Visual Studio 2010 Professional 下为 C++ Windows 窗体应用程序更改启动窗体

更新时间:2023-12-06 13:20:40

您使用的是 C++ IDE,它没有这些优点.您应该自己更改代码.在解决方案资源管理器窗口中双击与您的项目同名的 .cpp 文件.找到 main() 函数并更改 Application.Run() 调用:

You are using the C++ IDE, it doesn't have these kind of goodies. You are supposed to change the code yourself. Double-click the .cpp file that has the same name as your project in the Solution Explorer window. Locate the main() function and change the Application.Run() call:

// Create the main window and run it
Application::Run(gcnew Form1());    // Change "Form1" here