Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个有 2 个表单(FormLogin、FormMain)的程序。当我尝试调试时,我什么也没有发生,我认为它试图转到不正确的表单。有没有我在某处缺少的设置?
转到Project菜单,在底部单击选项卡YourProject Properties... 上Application,您将看到一个名为 的条目Startup Form。从下拉列表中,您可以选择哪个表单是起始对象。
Project
YourProject Properties...
Application
Startup Form
此信息存储在 My Project 文件夹、Application.Designer.vb 和 Application.myapp 文件中,但您应该只使用 GUI 更改启动表单,除非您有充分的理由直接编辑自动生成的文件。