setting start up form
-
how to set the particular form as a start up form in .net windows application in .net 2005
-
how to set the particular form as a start up form in .net windows application in .net 2005
There is a code file called Program.cs that defines the main entry point of the application. The start up form is the one that gets passed to the
Application.Run
method.static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
There is a code file called Program.cs that defines the main entry point of the application. The start up form is the one that gets passed to the
Application.Run
method.static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
need it design time not at run time
-
need it design time not at run time
sarojkumarjena wrote:
need it design time not at run time
:confused: What's that supposed to mean? What is a start up form at design time? :confused:
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
need it design time not at run time
This is design time, it just can't be done in the designer. You have to write actual code to change what form is run first.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )