All about Programming and Sourcecode

All posts in Winforms(General)

The Winforms or the Console Application developed in .NET can be made to run in the Administrator mode once the application is installed on client machine. You can do this by setting the requestedExecutionLevel to the requireAdministrator mode in the application manifest file. How to force the .NET Winforms Application Read more

When a new Windows Forms Project is created , you would see the sourcecode similar to the below sample in the Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace WindowsFormsApplication1 { static class Program { [STAThread] static void Main() { Application.Run(new Form1()); } } } What does the Read more