N
N
nait1233212016-05-03 16:07:10
C++ / C#
nait123321, 2016-05-03 16:07:10

Visual Studio 15 how to select initial form?

Hello, I'm working on a coursework, and somewhere in the middle of development I remembered that I need to add a user authorization menu, but I ran into this problem: how to change the start form of the project? I did not find this function in the settings, but on the Internet the option is only for C #

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Bondarenko, 2016-05-04
@nait123321

Open the Program.cs file (generated automatically) and edit the code in it:
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run( new Form1() );
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question