Ejemplo n.º 1
0
        public static void RunThread(BaseAppService service)
        {
            AppServiceContainer appServiceContainer = new AppServiceContainer(service, true);
            ThreadStart         threadStart         = new ThreadStart(appServiceContainer.Start);
            Thread thread = new Thread(threadStart);

            thread.Start();
        }
Ejemplo n.º 2
0
        public static void RunThread(BaseAppService service, bool enableButtonAfterExcute)
        {
            AppServiceContainer appServiceContainer = new AppServiceContainer(service, enableButtonAfterExcute);
            ThreadStart         threadStart         = new ThreadStart(appServiceContainer.Start);
            Thread thread = new Thread(threadStart);

            thread.Start();
        }
Ejemplo n.º 3
0
        public static void Run(BaseAppService service)
        {
            AppServiceContainer appServiceContainer = new AppServiceContainer(service, true);

            appServiceContainer.Start();
        }