Example #1
0
        private void FormMain_Load(object sender, EventArgs e)
        {
            DoubleBuffered = true;
            _stateManager.Init();
            _tempFileManager.Init();
            _tcpIpFileManager.Init();

            _tcpIpTcpServer = TcpServer.GetInstance();
            _udpReceiver    = UdpReceiver.GetInstance();
            BroadcastService.GetInstance();
        }
Example #2
0
        private void FormMain_Load(object sender, EventArgs e)
        {
            DoubleBuffered = true;
            _stateManager.Init();
            _tempFileManager.Init();
            _tcpIpFileManager.Init();

            _tcpIpServer = Server.GetInstance();
            _tcpIpServer.StartListen();

            BroadcastService.GetInstance().StartBroadcast();
        }