Can I create an MM .NET app with one form and no desktop?
To create an MM .NET Windows Forms application that has only one form and no desktop, do the following:
- Create a new MM .NET Windows Forms project
- In the Solution Explorer, delete the MainForm.cs or MainForm.vb form from the project
- Add a new form to your project as described in the MM .NET Help topic "Adding a New Form to Your Application"
- In the Solution Explorer, double-click Main.cs or Main.vb. Search for the line of code that contains a call to Application.Run() and change the MainForm reference to the name of your new form.
For example, in C#:
Application.Run(new Form1());
And in VB.NET:
Application.Run(New Form1)
- Add controls, business objects, etc. to your new form as needed
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 04/02/05
Comment or report problem with topic
