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

            case 2:
                this.TBDotFirst = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.ipTextBox2 = ((socketTest.CInput.InherCTextBoxMAC)(target));
                return;

            case 4:
                this.TBDotSecond = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.ipTextBox3 = ((socketTest.CInput.InherCTextBoxMAC)(target));
                return;

            case 6:
                this.TBDotThird = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.ipTextBox4 = ((socketTest.CInput.InherCTextBoxMAC)(target));
                return;

            case 8:
                this.TBDotFourth = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.ipTextBox5 = ((socketTest.CInput.InherCTextBoxMAC)(target));
                return;

            case 10:
                this.TBDotFifth = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.ipTextBox6 = ((socketTest.CInput.InherCTextBoxMAC)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 public void setNeighbour(InherCTextBoxMAC left, InherCTextBoxMAC right)
 {
     leftBox  = left;
     rightBox = right;
 }