void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ColorEmitterParametersMin = ((HomeParticlesSoftware.MinMaxRGBColorControl)(target)); return; case 2: this.MassEmitterParametersMinMax = ((HomeParticlesSoftware.MinMaxFloatControl)(target)); return; case 3: this.OpacityEmitterParametersMinMax = ((HomeParticlesSoftware.MinMaxFloatControl)(target)); return; case 4: this.QuantityEmitterParametersMinMax = ((HomeParticlesSoftware.MinMaxIntControl)(target)); return; case 5: this.RotationEmitterParametersMinMax = ((HomeParticlesSoftware.MinMaxFloatControl)(target)); return; case 6: this.ScaleEmitterParametersMinMax = ((HomeParticlesSoftware.MinMaxFloatControl)(target)); return; case 7: this.SpeedEmitterParametersMinMax = ((HomeParticlesSoftware.MinMaxFloatControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WidthAndHeight = ((HomeParticlesSoftware.MinMaxIntControl)(target)); return; case 2: this.RestitutionCoefficient = ((HomeParticlesSoftware.SliderFloatControl)(target)); return; } this._contentLoaded = true; }