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

            case 2:
                this.positionselector = ((Good_Teacher.Controls.Special.PositionSelector)(target));
                return;

            case 3:

            #line 33 "..\..\..\Pages\Value_ContentViewer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Content_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.alignmentSelector = ((Good_Teacher.Controls.Special.AlignmentSelector)(target));
                return;

            case 5:
                this.brushselector = ((Good_Teacher.Controls.Special.BrushSelector)(target));
                return;

            case 6:
                this.effectselector = ((Good_Teacher.Controls.Special.EffectSelector)(target));
                return;

            case 7:
                this.Button_MakeRepeating = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\..\Pages\Value_ContentViewer.xaml"
                this.Button_MakeRepeating.Click += new System.Windows.RoutedEventHandler(this.Button_MakeRepeating_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Button_DeleteControl = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\..\Pages\Value_ContentViewer.xaml"
                this.Button_DeleteControl.Click += new System.Windows.RoutedEventHandler(this.Delete_Click);

            #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.Label_SettingsName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.positionselector = ((Good_Teacher.Controls.Special.PositionSelector)(target));
                return;

            case 3:

            #line 33 "..\..\..\Pages\Value_AnswerButton.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Content_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.alignmentSelector = ((Good_Teacher.Controls.Special.AlignmentSelector)(target));
                return;

            case 5:
                this.brushselector = ((Good_Teacher.Controls.Special.BrushSelector)(target));
                return;

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

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

            #line 54 "..\..\..\Pages\Value_AnswerButton.xaml"
                this.Slider_NOpacity.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_Opacity_ValueChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.Label_HOpacity = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.Slider_HOpacity = ((System.Windows.Controls.Slider)(target));

            #line 61 "..\..\..\Pages\Value_AnswerButton.xaml"
                this.Slider_HOpacity.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_Opacity_ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.Label_COpacity = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.Slider_COpacity = ((System.Windows.Controls.Slider)(target));

            #line 68 "..\..\..\Pages\Value_AnswerButton.xaml"
                this.Slider_COpacity.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_Opacity_ValueChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.SelectedBrushselector = ((Good_Teacher.Controls.Special.BrushSelector)(target));
                return;

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

            #line 80 "..\..\..\Pages\Value_AnswerButton.xaml"
                this.TB_QuestionID.KeyUp += new System.Windows.Input.KeyEventHandler(this.TB_QuestionID_KeyUp);

            #line default
            #line hidden
                return;

            case 14:
                this.RB_Good = ((System.Windows.Controls.RadioButton)(target));

            #line 84 "..\..\..\Pages\Value_AnswerButton.xaml"
                this.RB_Good.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden

            #line 84 "..\..\..\Pages\Value_AnswerButton.xaml"
                this.RB_Good.Unchecked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\..\Pages\Value_AnswerButton.xaml"
                this.RB_Wrong.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden

            #line 85 "..\..\..\Pages\Value_AnswerButton.xaml"
                this.RB_Wrong.Unchecked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\..\Pages\Value_AnswerButton.xaml"
                this.CB_ShowGood.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxShowGood_Checked);

            #line default
            #line hidden

            #line 86 "..\..\..\Pages\Value_AnswerButton.xaml"
                this.CB_ShowGood.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxShowGood_Checked);

            #line default
            #line hidden
                return;

            case 17:
                this.effectselector = ((Good_Teacher.Controls.Special.EffectSelector)(target));
                return;

            case 18:

            #line 98 "..\..\..\Pages\Value_AnswerButton.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);

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

            case 2:
                this.CB_IsCheckedDefault = ((System.Windows.Controls.CheckBox)(target));

            #line 34 "..\..\..\Pages\Value_ToggleButton.xaml"
                this.CB_IsCheckedDefault.Checked += new System.Windows.RoutedEventHandler(this.CB_IsCheckedDefault_Checked);

            #line default
            #line hidden

            #line 34 "..\..\..\Pages\Value_ToggleButton.xaml"
                this.CB_IsCheckedDefault.Unchecked += new System.Windows.RoutedEventHandler(this.CB_IsCheckedDefault_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.Button_OnClickActions = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\..\Pages\Value_ToggleButton.xaml"
                this.Button_OnClickActions.Click += new System.Windows.RoutedEventHandler(this.Button_OnClickActions_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.CurrentActionsCount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.Button_OnClickActionsC = ((System.Windows.Controls.Button)(target));

            #line 53 "..\..\..\Pages\Value_ToggleButton.xaml"
                this.Button_OnClickActionsC.Click += new System.Windows.RoutedEventHandler(this.Button_OnClickActionsCH_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.CurrentActionsCountC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.TB_Tooltip = ((System.Windows.Controls.TextBox)(target));

            #line 67 "..\..\..\Pages\Value_ToggleButton.xaml"
                this.TB_Tooltip.LostFocus += new System.Windows.RoutedEventHandler(this.Control_LostFocus);

            #line default
            #line hidden

            #line 67 "..\..\..\Pages\Value_ToggleButton.xaml"
                this.TB_Tooltip.KeyDown += new System.Windows.Input.KeyEventHandler(this.Control_KeyDown);

            #line default
            #line hidden
                return;

            case 8:
                this.TB_Radius = ((Good_Teacher.Controls.NumberBox)(target));
                return;

            case 9:
                this.CB_Cursor = ((System.Windows.Controls.CheckBox)(target));

            #line 72 "..\..\..\Pages\Value_ToggleButton.xaml"
                this.CB_Cursor.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxCursor_Checked);

            #line default
            #line hidden

            #line 72 "..\..\..\Pages\Value_ToggleButton.xaml"
                this.CB_Cursor.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxCursor_Checked);

            #line default
            #line hidden
                return;

            case 10:
                this.CB_Animation = ((System.Windows.Controls.CheckBox)(target));

            #line 76 "..\..\..\Pages\Value_ToggleButton.xaml"
                this.CB_Animation.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxAnim_Checked);

            #line default
            #line hidden

            #line 76 "..\..\..\Pages\Value_ToggleButton.xaml"
                this.CB_Animation.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxAnim_Checked);

            #line default
            #line hidden
                return;

            case 11:

            #line 84 "..\..\..\Pages\Value_ToggleButton.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Content_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 93 "..\..\..\Pages\Value_ToggleButton.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ContentUn_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.alignmentSelector = ((Good_Teacher.Controls.Special.AlignmentSelector)(target));
                return;

            case 14:
                this.Label_ImageOpacityNormal = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.Slider_ImgOpacityNormal = ((System.Windows.Controls.Slider)(target));

            #line 124 "..\..\..\Pages\Value_ToggleButton.xaml"
                this.Slider_ImgOpacityNormal.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ImgOpacityNormal_ValueChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.BrushSelector_Unchecked = ((Good_Teacher.Controls.Special.BrushSelector)(target));
                return;

            case 17:
                this.Label_ImageOpacityClick = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.Slider_ImgOpacityClick = ((System.Windows.Controls.Slider)(target));

            #line 143 "..\..\..\Pages\Value_ToggleButton.xaml"
                this.Slider_ImgOpacityClick.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ImgOpacityClick_ValueChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.BrushSelector_Checked = ((Good_Teacher.Controls.Special.BrushSelector)(target));
                return;

            case 20:
                this.effectselector = ((Good_Teacher.Controls.Special.EffectSelector)(target));
                return;

            case 21:

            #line 159 "..\..\..\Pages\Value_ToggleButton.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);

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