Esempio n. 1
0
        public Form1()
        {
            InitializeComponent();

            //Process[] ps = Process.GetProcesses();
            //var p1 = ps.Select(p => p.MainModule.ModuleName);
            //var p2 = p1.Where(p => p != null);
            var v = System.Environment.OSVersion.Version;
            m = new ServiceManager(AppHelper.Config);
            m.RunServices();
        }
Esempio n. 2
0
        public ServiceHost()
        {
            InitializeComponent();

            this.ServiceManager = new ServiceManager(AppHelper.Config);
        }
Esempio n. 3
0
 public ServiceHost()
 {
     InitializeComponent();
     this.ServiceManager = new ServiceManager(AppHelper.Config);
 }