void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ipTextBox1 = ((CenterControlEditor.Controls.IPTextBox)(target)); return; case 2: this.ipTextBox2 = ((CenterControlEditor.Controls.IPTextBox)(target)); return; case 3: this.ipTextBox3 = ((CenterControlEditor.Controls.IPTextBox)(target)); return; case 4: this.ipTextBox4 = ((CenterControlEditor.Controls.IPTextBox)(target)); return; } this._contentLoaded = true; }
public void setNeighbour(IPTextBox left, IPTextBox right) { leftBox = left; rightBox = right; }