コード例 #1
0
 /// <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;
 }
コード例 #2
0
        /// <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;
        }