Пример #1
0
        private static void StartServers()
        {
            deviceServer = new ProcessingServer();
            deviceServer.Login();
            deviceServer.Start();

            dataServer = new LocalStorageServer();
            dataServer.Start();
        }
Пример #2
0
        public Service1()
        {
            InitializeComponent();

            server = new ProcessingServer();
            server.Login();

            dataServer = new LocalStorageServer();
        }