public void AddRoom(Client client, Server server, RoomInfo room, bool isLast) { RoomBlock block = new RoomBlock(client, server, room); this.Controls.Add(block); if (isLast) { this.ResumeLayout(true); } }
private void AddRoom(GameConfig2 config){ RoomBlock b = new RoomBlock(this, config); Controls.Add(b); }
public void AddRoom(Client client, Server server,RoomInfo room, bool isLast){ RoomBlock block=new RoomBlock(client,server,room); this.Controls.Add(block); if(isLast){ this.ResumeLayout(true); } }
private void AddRoom(GameConfig2 config) { RoomBlock b = new RoomBlock(this, config); Controls.Add(b); }