public NetWorkRoom(string name, Interface.TexBoxForm form) { _clientList = new List <ClientHandler>(); roomName = name; drawText = form; // 스레드 생성 2 if (thread == null) { thread = new Thread(ReadClientAllAsync); thread.Start(); } }
public NetWorkService(Interface.TexBoxForm texBox) { _texBox = texBox; _roomDictionary.Add("Lobby", new NetWorkRoom("Lobby", _texBox)); }