void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ipTextBox1 = ((MultiChanMCard.IPTextBox)(target));
                return;

            case 2:
                this.ipTextBox2 = ((MultiChanMCard.IPTextBox)(target));
                return;

            case 3:
                this.ipTextBox3 = ((MultiChanMCard.IPTextBox)(target));
                return;

            case 4:
                this.ipTextBox4 = ((MultiChanMCard.IPTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 // set Neighbour
 public void setNeighbour(IPTextBox left, IPTextBox right)
 {
     leftBox  = left;
     rightBox = right;
 }