Ejemplo n.º 1
0
 /// <summary>
 ///     增加BsonValueItem
 /// </summary>
 public void AddBsonValueItem()
 {
     _conditionCount++;
     var newBsonValueItem = new CtlBsonValue();
     newBsonValueItem.Location = _conditionPos;
     newBsonValueItem.Name = "BsonValueItem" + _conditionCount;
     Controls.Add(newBsonValueItem);
     _conditionPos.Y += newBsonValueItem.Height;
 }
Ejemplo n.º 2
0
        /// <summary>
        ///     增加BsonValueItem
        /// </summary>
        public void AddBsonValueItem()
        {
            _conditionCount++;
            var newBsonValueItem = new CtlBsonValue();

            newBsonValueItem.Location = _conditionPos;
            newBsonValueItem.Name     = "BsonValueItem" + _conditionCount;
            Controls.Add(newBsonValueItem);
            _conditionPos.Y += newBsonValueItem.Height;
        }