public void insertConnection(NetServer.activeConnection connection, int region, int screen) { if (regions[(object)region] == null) { regions.Add((object)region, new Regions()); } ((Regions)regions[(object)region]).insertConnection(connection, screen); }
public void insertConnection(NetServer.activeConnection connection, int screen) { if (screens[(object)screen] == null) { screens.Add((object)screen, new Screens()); } ((Screens)screens[(object)screen]).insertConnection(connection); }
public Form1() { InitializeComponent(); _server = new NetServer(this); }
public void insertConnection(NetServer.activeConnection connection) { connections.Add((object)connection.UserId, connection); }