Пример #1
0
        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);
            }
        }
Пример #2
0
		private void AddRoom(GameConfig2 config){
			RoomBlock b = new RoomBlock(this, config);
			Controls.Add(b);
		}
Пример #3
0
		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);
        }