void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.RandomValue = ((Panuon.UI.PUButton)(target)); return; case 2: this.ChangeAxis = ((Panuon.UI.PUButton)(target)); return; case 3: this.ChangeColor = ((Panuon.UI.PUButton)(target)); return; case 4: this.AddValues = ((Panuon.UI.PURepeatButton)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.nav = ((Panuon.UI.PUPagingNav)(target)); return; case 2: this.BtnLeft = ((Panuon.UI.PURepeatButton)(target)); return; case 3: this.StkMain = ((System.Windows.Controls.StackPanel)(target)); return; case 4: this.BtnRight = ((Panuon.UI.PURepeatButton)(target)); return; } this._contentLoaded = true; }