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

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

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