Esempio n. 1
0
 /// <summary>
 ///     新增MatchItem
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnAddMatch_Click(object sender, EventArgs e)
 {
     MatchItemCount++;
     var newMatchItem = new CtlMatchItem();
     newMatchItem.Location = CurrentPos;
     newMatchItem.Name = "MatchItem" + MatchItemCount;
     Controls.Add(newMatchItem);
     CurrentPos.Y += newMatchItem.Height;
 }
Esempio n. 2
0
 /// <summary>
 ///     增加MatchItem
 /// </summary>
 public void AddMatchItem()
 {
     _conditionCount++;
     var newMatchItem = new CtlMatchItem();
     newMatchItem.Location = _conditionPos;
     newMatchItem.Name = "MatchItem" + _conditionCount;
     Controls.Add(newMatchItem);
     _conditionPos.Y += newMatchItem.Height;
 }
Esempio n. 3
0
        /// <summary>
        ///     新增MatchItem
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnAddMatch_Click(object sender, EventArgs e)
        {
            MatchItemCount++;
            var newMatchItem = new CtlMatchItem();

            newMatchItem.Location = CurrentPos;
            newMatchItem.Name     = "MatchItem" + MatchItemCount;
            Controls.Add(newMatchItem);
            CurrentPos.Y += newMatchItem.Height;
        }
Esempio n. 4
0
        /// <summary>
        ///     增加MatchItem
        /// </summary>
        public void AddMatchItem()
        {
            _conditionCount++;
            var newMatchItem = new CtlMatchItem();

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