void IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ConnectedSlider = (ConnectedSlider)target; return; case 2: this.Surfing = (Image)target; return; case 3: this.SurfingAnimated = (Image)target; return; case 4: this.StatusMessage = (Label)target; return; case 5: this.CancelConnection = (TextBlock)target; this.CancelConnection.MouseLeftButtonUp += new MouseButtonEventHandler(this.CancelConnection_OnMouseLeftButtonUp); return; case 6: this.FeatureDisplay = (FeatureDisplay)target; return; case 7: this.LoadingBar = (ModernProgressRing)target; return; case 8: this.ConnectBtn = (Button)target; this.ConnectBtn.Click += new RoutedEventHandler(this.DoDisconnect); return; default: this._contentLoaded = true; return; } }
void IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ConnectedSlider = (ConnectedSlider)target; return; case 2: this.Svg = (Canvas)target; return; case 3: this.Path7 = (Path)target; return; case 4: this.Path10 = (Path)target; return; case 5: this.Path5 = (Path)target; return; case 6: this.Path2 = (Path)target; return; case 7: this.Path9 = (Path)target; return; case 8: this.Path11 = (Path)target; return; case 9: this.Path8 = (Path)target; return; case 10: this.Path12 = (Path)target; return; case 11: this.Path4 = (Path)target; return; case 12: this.Path6 = (Path)target; return; case 13: this.Path3 = (Path)target; return; case 14: this.Path1 = (Path)target; return; case 15: this.StatusMessage = (Label)target; return; case 16: this.CancelConnection = (TextBlock)target; this.CancelConnection.MouseLeftButtonUp += new MouseButtonEventHandler(this.CancelConnection_OnMouseLeftButtonUp); return; case 17: this.FeatureDisplay = (FeatureDisplay)target; return; case 18: this.LoadingBar = (ModernProgressRing)target; return; case 19: this.ConnectBtn = (Button)target; this.ConnectBtn.Click += new RoutedEventHandler(this.DoDisconnect); return; default: this._contentLoaded = true; return; } }