12345678910111213141516171819202122 |
- using System;
- using System.Collections.Generic;
- using System.Windows.Forms;
- namespace TurnoffMonitorOnLock
- {
- internal static class Program
- {
- private static IList<string> _commandLineArgs;
- internal static IList<string> CommandLineArgs => new List<string>(_commandLineArgs);
- [STAThread]
- private static void Main(string[] args)
- {
- _commandLineArgs = args;
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new MainForm());
- }
- }
- }
|