/// <summary> /// 增加BsonValueItem /// </summary> public void AddBsonValueItem() { _conditionCount++; ctlBsonValue newBsonValueItem = new ctlBsonValue(); newBsonValueItem.Location = _conditionPos; newBsonValueItem.Name = "BsonValueItem" + _conditionCount.ToString(); Controls.Add(newBsonValueItem); _conditionPos.Y += newBsonValueItem.Height; }