Beispiel #1
0
        public void SetTreeChildMPair(RabbitPair p)
        {
            if (p == null)
            {
                return;
            }

            _treeChildMPair = p;

            _treeMArrow           = new ArrowImg();
            _treeMArrow.BackColor = this.BackColor;
            _treeMArrow.Location  = new Point(0, 0);
            _treeMArrow.SetRight();
            _treeMArrow.SetStart();
//			_TreeMArrow.SetBothEnds();
            _parentControl.Controls.Add(_treeMArrow);

            p.SetTreeGenderSide(1);
            p.SetTreeParentPair(this);
            p.ReplaceGenomeColors(MaleRabbit.GetGenomColors());
            p.WindowRabbitID = _windowRabbitID;
        }
Beispiel #2
0
 public void SetParentPair(RabbitPair p)
 {
     _parentPair = p;
 }
Beispiel #3
0
 public void SetTreeParentPair(RabbitPair p)
 {
     _treeParentPair = p;
 }