Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TextBox_ShadowDirection = ((System.Windows.Controls.TextBox)(target));

            #line 15 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.TextBox_ShadowDirection.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 15 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.TextBox_ShadowDirection.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 2:
                this.TextBox_ShadowDepth = ((System.Windows.Controls.TextBox)(target));

            #line 17 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.TextBox_ShadowDepth.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 17 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.TextBox_ShadowDepth.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 3:
                this.Rect_ShadowColor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 4:

            #line 22 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonShadowColor_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.TextBox_BlurRadius = ((System.Windows.Controls.TextBox)(target));

            #line 28 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.TextBox_BlurRadius.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 28 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.TextBox_BlurRadius.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 6:
                this.OpacityValue = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.SliderShadowOpacity = ((System.Windows.Controls.Slider)(target));

            #line 34 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.SliderShadowOpacity.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SliderShadowOpacity_ValueChanged);

            #line default
            #line hidden
                return;

            case 8:

            #line 36 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonCreateShadow_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.B_RemoveShadow = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.B_RemoveShadow.Click += new System.Windows.RoutedEventHandler(this.ButtonRemoveShadow_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.TextBox_BlurEffectBlurRadius = ((System.Windows.Controls.TextBox)(target));

            #line 48 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.TextBox_BlurEffectBlurRadius.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 48 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.TextBox_BlurEffectBlurRadius.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 11:
                this.ComboBox_BlurType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:

            #line 55 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonCreateBlur_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.B_RemoveBlur = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.B_RemoveBlur.Click += new System.Windows.RoutedEventHandler(this.ButtonRemoveBlur_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.CB_IsVisible = ((System.Windows.Controls.CheckBox)(target));

            #line 61 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.CB_IsVisible.Checked += new System.Windows.RoutedEventHandler(this.CB_IsVisible_Checked);

            #line default
            #line hidden

            #line 61 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.CB_IsVisible.Unchecked += new System.Windows.RoutedEventHandler(this.CB_IsVisible_Checked);

            #line default
            #line hidden
                return;

            case 15:
                this.OpacityPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 16:
                this.Label_ImageOpacity = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.Slider_ImgOpacity = ((System.Windows.Controls.Slider)(target));

            #line 72 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.Slider_ImgOpacity.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ImgOpacity_ValueChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.rotationbutton = ((Good_Teacher.Controls.RotationButton)(target));
                return;

            case 19:
                this.TextBox_RotationAngle = ((System.Windows.Controls.TextBox)(target));

            #line 80 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.TextBox_RotationAngle.KeyDown += new System.Windows.Input.KeyEventHandler(this.Control_KeyDown);

            #line default
            #line hidden

            #line 80 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.TextBox_RotationAngle.LostFocus += new System.Windows.RoutedEventHandler(this.Control_LostFocus);

            #line default
            #line hidden

            #line 80 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.TextBox_RotationAngle.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 80 "..\..\..\..\Controls\Special\EffectSelector.xaml"
                this.TextBox_RotationAngle.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TabControlFill = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.Rect_BackColor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 3:

            #line 20 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonColor_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.R_ImageFill = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:

            #line 36 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectButton_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.ComboBox_Stretch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxStretch_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.ComboBox_Quality = ((System.Windows.Controls.ComboBox)(target));

            #line 50 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.ComboBox_Quality.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.rotationbutton = ((Good_Teacher.Controls.RotationButton)(target));
                return;

            case 9:
                this.TextBox_RotationAngle = ((System.Windows.Controls.TextBox)(target));

            #line 65 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TextBox_RotationAngle.KeyDown += new System.Windows.Input.KeyEventHandler(this.Control_KeyDown);

            #line default
            #line hidden

            #line 65 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TextBox_RotationAngle.LostFocus += new System.Windows.RoutedEventHandler(this.Control_LostFocus);

            #line default
            #line hidden

            #line 65 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TextBox_RotationAngle.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 65 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TextBox_RotationAngle.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 10:
                this.TB_SCW = ((System.Windows.Controls.TextBox)(target));

            #line 72 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_SCW.KeyDown += new System.Windows.Input.KeyEventHandler(this.TB_SCW_KeyDown);

            #line default
            #line hidden

            #line 72 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_SCW.LostFocus += new System.Windows.RoutedEventHandler(this.TB_SCW_LostFocus);

            #line default
            #line hidden

            #line 72 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_SCW.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 72 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_SCW.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 11:
                this.TB_SCH = ((System.Windows.Controls.TextBox)(target));

            #line 75 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_SCH.KeyDown += new System.Windows.Input.KeyEventHandler(this.TB_SCH_KeyDown);

            #line default
            #line hidden

            #line 75 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_SCH.LostFocus += new System.Windows.RoutedEventHandler(this.TB_SCH_LostFocus);

            #line default
            #line hidden

            #line 75 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_SCH.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 75 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_SCH.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 12:
                this.TB_MVX = ((System.Windows.Controls.TextBox)(target));

            #line 81 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_MVX.KeyDown += new System.Windows.Input.KeyEventHandler(this.TB_MVX_KeyDown);

            #line default
            #line hidden

            #line 81 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_MVX.LostFocus += new System.Windows.RoutedEventHandler(this.TB_MVX_LostFocus);

            #line default
            #line hidden

            #line 81 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_MVX.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 81 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_MVX.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 13:
                this.TB_MVY = ((System.Windows.Controls.TextBox)(target));

            #line 84 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_MVY.KeyDown += new System.Windows.Input.KeyEventHandler(this.TB_MVY_KeyDown);

            #line default
            #line hidden

            #line 84 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_MVY.LostFocus += new System.Windows.RoutedEventHandler(this.TB_MVY_LostFocus);

            #line default
            #line hidden

            #line 84 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_MVY.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 84 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.TB_MVY.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 14:
                this.CB_TileMode = ((System.Windows.Controls.ComboBox)(target));

            #line 87 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                this.CB_TileMode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CB_TileMode_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.RadioButton_LinearGradient = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 16:
                this.RadioButton_RadialGradient = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 17:
                this.Rect_StartColor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 18:

            #line 117 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonStartColor_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.Rect_EndColor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 20:

            #line 127 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonEndColor_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.Box_Angle = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:

            #line 136 "..\..\..\..\Controls\Special\BrushSelector.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonGradient_Click);

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