void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ipTextBox1 = ((socketTest.CInput.InherCTextBoxIP)(target)); return; case 2: this.TBDotFirst = ((System.Windows.Controls.Label)(target)); return; case 3: this.ipTextBox2 = ((socketTest.CInput.InherCTextBoxIP)(target)); return; case 4: this.TBDotSecond = ((System.Windows.Controls.Label)(target)); return; case 5: this.ipTextBox3 = ((socketTest.CInput.InherCTextBoxIP)(target)); return; case 6: this.TBDotThird = ((System.Windows.Controls.Label)(target)); return; case 7: this.ipTextBox4 = ((socketTest.CInput.InherCTextBoxIP)(target)); return; } this._contentLoaded = true; }
public void setNeighbour(InherCTextBoxIP left, InherCTextBoxIP right) { leftBox = left; rightBox = right; }