コード例 #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();
        }
コード例 #2
0
ファイル: FormMain.cs プロジェクト: twoentartian/TDPS2017
        private void FormMain_Load(object sender, EventArgs e)
        {
            DoubleBuffered = true;
            _stateManager.Init();
            _tempFileManager.Init();
            _tcpIpFileManager.Init();

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

            BroadcastService.GetInstance().StartBroadcast();
        }