Exemple #1
0
        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;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ScaleMin = ((HomeParticlesSoftware.MinMaxFloatControl)(target));
                return;

            case 2:
                this.ScaleMax = ((HomeParticlesSoftware.MinMaxFloatControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LineAndSprayGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.Vector2Controls = ((HomeParticlesSoftware.MinMaxFloatControl)(target));
                return;

            case 3:
                this.LengthOrSpreadControl = ((HomeParticlesSoftware.SliderFloatControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CheckBoxInformation = ((System.Windows.Controls.CheckBox)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.CheckBoxInformation.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxInformation_Checked);

            #line default
            #line hidden

            #line 42 "..\..\MainWindow.xaml"
                this.CheckBoxInformation.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxInformation_Unchecked);

            #line default
            #line hidden
                return;

            case 2:
                this.InformationDetails = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.CheckBoxDefinition = ((System.Windows.Controls.CheckBox)(target));

            #line 67 "..\..\MainWindow.xaml"
                this.CheckBoxDefinition.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxDefinition_Checked);

            #line default
            #line hidden

            #line 68 "..\..\MainWindow.xaml"
                this.CheckBoxDefinition.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxDefinition_Unchecked);

            #line default
            #line hidden
                return;

            case 4:
                this.DefinitionsDetails = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.SliderCapacityAndLifeSpanDefinitions = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.ComboBoxProfileDefinitions = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.ProfileBoxFill = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 110 "..\..\MainWindow.xaml"
                this.ProfileBoxFill.Selected += new System.Windows.RoutedEventHandler(this.ProfileBoxFill_Selected);

            #line default
            #line hidden
                return;

            case 8:
                this.ProfileBox = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 111 "..\..\MainWindow.xaml"
                this.ProfileBox.Selected += new System.Windows.RoutedEventHandler(this.ProfileBox_Selected);

            #line default
            #line hidden
                return;

            case 9:
                this.ProfileBoxUniform = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 112 "..\..\MainWindow.xaml"
                this.ProfileBoxUniform.Selected += new System.Windows.RoutedEventHandler(this.ProfileBoxUniform_Selected);

            #line default
            #line hidden
                return;

            case 10:
                this.ProfileCircle = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 113 "..\..\MainWindow.xaml"
                this.ProfileCircle.Selected += new System.Windows.RoutedEventHandler(this.ProfileCircle_Selected);

            #line default
            #line hidden
                return;

            case 11:
                this.ProfileLine = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 114 "..\..\MainWindow.xaml"
                this.ProfileLine.Selected += new System.Windows.RoutedEventHandler(this.ProfileLine_Selected);

            #line default
            #line hidden
                return;

            case 12:
                this.ProfileRing = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 115 "..\..\MainWindow.xaml"
                this.ProfileRing.Selected += new System.Windows.RoutedEventHandler(this.ProfileRing_Selected);

            #line default
            #line hidden
                return;

            case 13:
                this.ProfilePoint = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 116 "..\..\MainWindow.xaml"
                this.ProfilePoint.Selected += new System.Windows.RoutedEventHandler(this.ProfilePoint_Selected);

            #line default
            #line hidden
                return;

            case 14:
                this.ProfileSpray = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 117 "..\..\MainWindow.xaml"
                this.ProfileSpray.Selected += new System.Windows.RoutedEventHandler(this.ProfileSpray_Selected);

            #line default
            #line hidden
                return;

            case 15:
                this.ProfilDetails = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 16:
                this.CheckBoxEmitterParameters = ((System.Windows.Controls.CheckBox)(target));

            #line 135 "..\..\MainWindow.xaml"
                this.CheckBoxEmitterParameters.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxEmitterParameters_Checked);

            #line default
            #line hidden

            #line 136 "..\..\MainWindow.xaml"
                this.CheckBoxEmitterParameters.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxEmitterParameters_Unchecked);

            #line default
            #line hidden
                return;

            case 17:
                this.EmitterParameterBlock = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 18:
                this.EmitterParameterControlsGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.CheckBoxEmitterModifiers = ((System.Windows.Controls.CheckBox)(target));

            #line 161 "..\..\MainWindow.xaml"
                this.CheckBoxEmitterModifiers.Click += new System.Windows.RoutedEventHandler(this.CheckBoxEmitterModifiers_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.EmitterModifiersBlock = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 21:
                this.CheckBoxCOntainersModifier = ((System.Windows.Controls.CheckBox)(target));

            #line 171 "..\..\MainWindow.xaml"
                this.CheckBoxCOntainersModifier.Click += new System.Windows.RoutedEventHandler(this.CheckBoxCOntainersModifier_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.StackContainersModifiers = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 23:
                this.ComboBoxContainersModifierControl = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 24:
                this.CircleContainerModifier = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 190 "..\..\MainWindow.xaml"
                this.CircleContainerModifier.Selected += new System.Windows.RoutedEventHandler(this.CircleContainerModifier_Selected);

            #line default
            #line hidden
                return;

            case 25:
                this.RectangleContainerModifier = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 191 "..\..\MainWindow.xaml"
                this.RectangleContainerModifier.Selected += new System.Windows.RoutedEventHandler(this.RectangleContainerModifier_Selected);

            #line default
            #line hidden
                return;

            case 26:
                this.RectangleLoopContainerModifier = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 192 "..\..\MainWindow.xaml"
                this.RectangleLoopContainerModifier.Selected += new System.Windows.RoutedEventHandler(this.RectangleLoopContainerModifier_Selected);

            #line default
            #line hidden
                return;

            case 27:
                this.ContainerDetails = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 28:
                this.CheckBoxAgeModifier = ((System.Windows.Controls.CheckBox)(target));

            #line 201 "..\..\MainWindow.xaml"
                this.CheckBoxAgeModifier.Click += new System.Windows.RoutedEventHandler(this.CheckBoxAgeModifier_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.GridModifiersInterpolators = ((System.Windows.Controls.Grid)(target));
                return;

            case 30:
                this.ComboBoxModifiersInterpolators = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 31:
                this.ModifierColorInterpolator = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 221 "..\..\MainWindow.xaml"
                this.ModifierColorInterpolator.Selected += new System.Windows.RoutedEventHandler(this.ModifierColorInterpolator_Selected);

            #line default
            #line hidden
                return;

            case 32:
                this.ModifierHueInterpolator = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 222 "..\..\MainWindow.xaml"
                this.ModifierHueInterpolator.Selected += new System.Windows.RoutedEventHandler(this.ModifierHueInterpolator_Selected);

            #line default
            #line hidden
                return;

            case 33:
                this.ModifierOpacityInterpolator = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 223 "..\..\MainWindow.xaml"
                this.ModifierOpacityInterpolator.Selected += new System.Windows.RoutedEventHandler(this.ModifierOpacityInterpolator_Selected);

            #line default
            #line hidden
                return;

            case 34:
                this.ModifierRotationInterpolator = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 224 "..\..\MainWindow.xaml"
                this.ModifierRotationInterpolator.Selected += new System.Windows.RoutedEventHandler(this.ModifierRotationInterpolator_Selected);

            #line default
            #line hidden
                return;

            case 35:
                this.ModifierScaleInterpolator = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 225 "..\..\MainWindow.xaml"
                this.ModifierScaleInterpolator.Selected += new System.Windows.RoutedEventHandler(this.ModifierScaleInterpolator_Selected);

            #line default
            #line hidden
                return;

            case 36:
                this.ModifierInterpolatorsDetails = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 37:
                this.CheckBoxDragModifier = ((System.Windows.Controls.CheckBox)(target));

            #line 234 "..\..\MainWindow.xaml"
                this.CheckBoxDragModifier.Click += new System.Windows.RoutedEventHandler(this.CheckBoxDragModifier_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.DragModifierModifierControl = ((HomeParticlesSoftware.HueInterpolatorControl)(target));
                return;

            case 39:
                this.CheckBoxLinearGravityModifier = ((System.Windows.Controls.CheckBox)(target));

            #line 242 "..\..\MainWindow.xaml"
                this.CheckBoxLinearGravityModifier.Click += new System.Windows.RoutedEventHandler(this.CheckBoxLinearGravityModifier_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.LinearGravityModifierControlStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 41:
                this.LinearGravityModifierControl = ((HomeParticlesSoftware.LineAndSprayControl)(target));
                return;

            case 42:
                this.LinearGravityModifierControlDuration = ((HomeParticlesSoftware.SliderFloatControl)(target));
                return;

            case 43:
                this.LinearGravityModifierControlSizeBuffer = ((HomeParticlesSoftware.SliderIntControl)(target));
                return;

            case 44:
                this.CheckBoxOpacityFastFadeModifier = ((System.Windows.Controls.CheckBox)(target));

            #line 257 "..\..\MainWindow.xaml"
                this.CheckBoxOpacityFastFadeModifier.Click += new System.Windows.RoutedEventHandler(this.CheckBoxOpacityFastFadeModifier_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.OpacityFastFadeModifierControlStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 46:
                this.OpacityFastFadeModifierControlDuration = ((HomeParticlesSoftware.SliderFloatControl)(target));
                return;

            case 47:
                this.OpacityFastFadeModifierControlSizeBuffer = ((HomeParticlesSoftware.SliderIntControl)(target));
                return;

            case 48:
                this.CheckBoxRotationModifier = ((System.Windows.Controls.CheckBox)(target));

            #line 268 "..\..\MainWindow.xaml"
                this.CheckBoxRotationModifier.Click += new System.Windows.RoutedEventHandler(this.CheckBoxRotationModifier_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.SliderRotationRateRotationModifier = ((HomeParticlesSoftware.SliderFloatControl)(target));
                return;

            case 50:
                this.CheckBoxVelocityColorModifier = ((System.Windows.Controls.CheckBox)(target));

            #line 276 "..\..\MainWindow.xaml"
                this.CheckBoxVelocityColorModifier.Click += new System.Windows.RoutedEventHandler(this.CheckBoxVelocityColorModifier_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.VelocityColorModifier = ((HomeParticlesSoftware.VelocityColorModifierControl)(target));
                return;

            case 52:
                this.CheckBoxVelocityModifier = ((System.Windows.Controls.CheckBox)(target));

            #line 284 "..\..\MainWindow.xaml"
                this.CheckBoxVelocityModifier.Click += new System.Windows.RoutedEventHandler(this.CheckBoxVelocityModifier_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.GridVelocityModifiersInterpolators = ((System.Windows.Controls.Grid)(target));
                return;

            case 54:
                this.ComboBoxVelocityModifiersInterpolators = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 55:
                this.VelocityModifierColorInterpolator = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 303 "..\..\MainWindow.xaml"
                this.VelocityModifierColorInterpolator.Selected += new System.Windows.RoutedEventHandler(this.VelocityModifierColorInterpolator_Selected);

            #line default
            #line hidden
                return;

            case 56:
                this.VelocityModifierHueInterpolator = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 304 "..\..\MainWindow.xaml"
                this.VelocityModifierHueInterpolator.Selected += new System.Windows.RoutedEventHandler(this.VelocityModifierHueInterpolator_Selected);

            #line default
            #line hidden
                return;

            case 57:
                this.VelocityModifierOpacityInterpolator = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 305 "..\..\MainWindow.xaml"
                this.VelocityModifierOpacityInterpolator.Selected += new System.Windows.RoutedEventHandler(this.VelocityModifierOpacityInterpolator_Selected);

            #line default
            #line hidden
                return;

            case 58:
                this.VelocityModifierRotationInterpolator = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 306 "..\..\MainWindow.xaml"
                this.VelocityModifierRotationInterpolator.Selected += new System.Windows.RoutedEventHandler(this.VelocityModifierRotationInterpolator_Selected);

            #line default
            #line hidden
                return;

            case 59:
                this.VelocityModifierScaleInterpolator = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 307 "..\..\MainWindow.xaml"
                this.VelocityModifierScaleInterpolator.Selected += new System.Windows.RoutedEventHandler(this.VelocityModifierScaleInterpolator_Selected);

            #line default
            #line hidden
                return;

            case 60:
                this.VelocityModifierInterpolatorsDetails = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 61:
                this.CheckBoxVortexModifier = ((System.Windows.Controls.CheckBox)(target));

            #line 316 "..\..\MainWindow.xaml"
                this.CheckBoxVortexModifier.Click += new System.Windows.RoutedEventHandler(this.CheckBoxVortexModifier_Click);

            #line default
            #line hidden
                return;

            case 62:
                this.VortexModifierStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 63:
                this.VortexModifierPosition = ((HomeParticlesSoftware.MinMaxFloatControl)(target));
                return;

            case 64:
                this.VortexModifierMaxSpeed = ((HomeParticlesSoftware.SliderFloatControl)(target));
                return;

            case 65:
                this.VortexModifierMass = ((HomeParticlesSoftware.SliderFloatControl)(target));
                return;

            case 66:
                this.NewXml = ((System.Windows.Controls.Button)(target));

            #line 337 "..\..\MainWindow.xaml"
                this.NewXml.Click += new System.Windows.RoutedEventHandler(this.NewXml_Click);

            #line default
            #line hidden
                return;

            case 67:
                this.LoadXml = ((System.Windows.Controls.Button)(target));

            #line 340 "..\..\MainWindow.xaml"
                this.LoadXml.Click += new System.Windows.RoutedEventHandler(this.LoadXml_Click);

            #line default
            #line hidden
                return;

            case 68:
                this.SaveXml = ((System.Windows.Controls.Button)(target));

            #line 343 "..\..\MainWindow.xaml"
                this.SaveXml.Click += new System.Windows.RoutedEventHandler(this.SaveXml_Click);

            #line default
            #line hidden
                return;

            case 69:
                this.ParticleVisualisation = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 70:
                this.ClickModeParticleEffect = ((System.Windows.Controls.RadioButton)(target));

            #line 360 "..\..\MainWindow.xaml"
                this.ClickModeParticleEffect.Click += new System.Windows.RoutedEventHandler(this.MouseClickMode_Click);

            #line default
            #line hidden
                return;

            case 71:
                this.AutoParticleModeEffect = ((System.Windows.Controls.RadioButton)(target));

            #line 369 "..\..\MainWindow.xaml"
                this.AutoParticleModeEffect.Click += new System.Windows.RoutedEventHandler(this.AutoParticleMode_Click);

            #line default
            #line hidden
                return;

            case 72:
                this.SliderFloatParticleMode = ((HomeParticlesSoftware.SliderHorizontalFloatControl)(target));
                return;

            case 73:
                this.borderImagesToParticles = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 74:
                this.ListViewImagesToPaticles = ((System.Windows.Controls.ListView)(target));

            #line 386 "..\..\MainWindow.xaml"
                this.ListViewImagesToPaticles.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListViewImagesToPaticles_SelectionChanged);

            #line default
            #line hidden
                return;

            case 75:
                this.TextBoxTexturesBrowser = ((System.Windows.Controls.TextBox)(target));
                return;

            case 76:
                this.ButtonTexturesBrowser = ((System.Windows.Controls.Button)(target));

            #line 405 "..\..\MainWindow.xaml"
                this.ButtonTexturesBrowser.Click += new System.Windows.RoutedEventHandler(this.ButtonTexturesBrowser_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }