Exemplo n.º 1
0
        public static void TestRunFromConsole()
        {
            bool isValidProperties = ReadPropertiesFile();

            if (isValidProperties)
            {
                WinService win = new WinService();
                win.InitializeComponent();
                win.OnStart(null);
            }
        }
Exemplo n.º 2
0
        public static void TestRunFromConsole()
        {
            bool isValidProperties = ReadPropertiesFile();

            if (isValidProperties)
            {
                WinService win = new WinService();
                win.InitializeComponent();
                win.OnStart(null);
            }
        }
Exemplo n.º 3
0
 static void TestMain(string[] args)
 {
     WinService.TestRunFromConsole();
 }