SmartNamePlate.PCCompanion/Program.cs
/// <summary>
/// The main entry point for the application.
/// </summary>
The main entry point for the application.
The main entry point for the application .
static void Main(string[] args)
        {
            if (args.Length == 1 && args[0] == "/s")
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                using (Form startForm = new DebugMain())
                {
                    Application.Run(startForm);
                }
            }
            else
            {
                ServiceBase[] ServicesToRun;
                ServicesToRun = new ServiceBase[]
                {
                new SmartNamePlateService()
                };
                ServiceBase.Run(ServicesToRun);
            }
        }
static void Main ( string [ ] args ) { if ( args . Length == 1 && args [ 0 ] == " " ) { Application . EnableVisualStyles ( ) ; Application . SetCompatibleTextRenderingDefault ( false ) ; using ( Form startForm = new DebugMain ( ) ) { Application . Run ( startForm ) ; } } else { ServiceBase [ ] ServicesToRun ; ServicesToRun = new ServiceBase [ ] { new SmartNamePlateService ( ) } ; ServiceBase . Run ( ServicesToRun ) ; } }
The main entry point for the application.
The main entry point for the application .
args
string[]