예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\child\UpdateChildUserControl.xaml"
                ((PLWPF.UpdateChildUserControl)(target)).AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

            case 2:
                this.title = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.SelectChildIdStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.idComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 34 "..\..\..\child\UpdateChildUserControl.xaml"
                this.idComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.idComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.childDetailsGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 7:
                this.motherIdTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.firstNameTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.birthDateDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 10:
                this.moreStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.isSpecialNeedsChildGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.isSpecialNeedsChildCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 90 "..\..\..\child\UpdateChildUserControl.xaml"
                this.isSpecialNeedsChildCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.isSpecialNeedsChildCheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 13:
                this.SpecialNeedsText = ((PLWPF.UpdateCommentsUserControl)(target));
                return;

            case 14:
                this.isFoodAllergyGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.isFoodAllergyCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 104 "..\..\..\child\UpdateChildUserControl.xaml"
                this.isFoodAllergyCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.isFoodAllergyCheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 16:
                this.FoodAllergyText = ((PLWPF.UpdateCommentsUserControl)(target));
                return;

            case 17:
                this.isMedicinesAllergyGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.isMedicinesAllergyCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 118 "..\..\..\child\UpdateChildUserControl.xaml"
                this.isMedicinesAllergyCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.isMedicinesAllergyCheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 19:
                this.MedicinesAllergyText = ((PLWPF.UpdateCommentsUserControl)(target));
                return;

            case 20:
                this.isBeastMilk = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 22:
                this.commentsExpander = ((System.Windows.Controls.Expander)(target));
                return;

            case 23:
                this.CommentsText = ((PLWPF.UpdateCommentsUserControl)(target));
                return;

            case 24:
                this.UpdateChildButton = ((System.Windows.Controls.Button)(target));

            #line 139 "..\..\..\child\UpdateChildUserControl.xaml"
                this.UpdateChildButton.Click += new System.Windows.RoutedEventHandler(this.UpdateChildButton_Click);

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

            #line 8 "..\..\..\nanny\UpdateNannyUserControl.xaml"
                ((PLWPF.UpdateNannyUserControl)(target)).AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

            case 2:
                this.title = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.SelectNannyStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.nannyComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 28 "..\..\..\nanny\UpdateNannyUserControl.xaml"
                this.nannyComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.nannyComboBox_SelectionChanged);

            #line default
            #line hidden

            #line 28 "..\..\..\nanny\UpdateNannyUserControl.xaml"
                this.nannyComboBox.DropDownOpened += new System.EventHandler(this.nannyComboBox_DropDownOpened);

            #line default
            #line hidden
                return;

            case 5:
                this.allNannyDetailsGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.NannyDetailsGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.idTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.firstNameTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 11:
                this.birthDateDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 12:
                this.AddressUC = ((PLWPF.PlaceAutoCompleteUC)(target));
                return;

            case 13:
                this.floorUC = ((PLWPF.NumericUpDownControl)(target));
                return;

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

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

            case 16:
                this.maxNumOfChildrenGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.maxNumOfChildrenTextBox = ((PLWPF.NumericUpDownControl)(target));
                return;

            case 18:
                this.agesStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 19:
                this.ageTextBox = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.MinAge = ((PLWPF.NumericUpDownControl)(target));
                return;

            case 21:
                this.MaxAge = ((PLWPF.NumericUpDownControl)(target));
                return;

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

            case 23:
                this.MonthlyRateGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this.monthlyRateTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.IsEnablePayForHourGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 26:
                this.enanblePayForHourCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 122 "..\..\..\nanny\UpdateNannyUserControl.xaml"
                this.enanblePayForHourCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.enanblePayForHourCheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 27:
                this.HourlyRateGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 28:
                this.hourlyRateTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.professionalDetailsStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 30:
                this.NumberOfExperienceYearsGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 31:
                this.numberOfExperienceYearsNumUpDown = ((PLWPF.NumericUpDownControl)(target));
                return;

            case 32:
                this.SpecialActivitiesExpander = ((System.Windows.Controls.Expander)(target));
                return;

            case 33:
                this.SpecialActivitiesText = ((PLWPF.UpdateCommentsUserControl)(target));
                return;

            case 34:
                this.RecommendationsExpander = ((System.Windows.Controls.Expander)(target));
                return;

            case 35:
                this.RecommendationsText = ((PLWPF.UpdateCommentsUserControl)(target));
                return;

            case 36:
                this.nannyScheduleDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 37:
                this.dayColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.isWorkDayColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target));
                return;

            case 39:
                this.startHourColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.endHourColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 41:
                this.moreDetails = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 42:
                this.KosherFoodGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 43:
                this.isKosherFoodCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 44:
                this.ReligiousEducationGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 45:
                this.isReligiousEducationCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 46:
                this.VacationGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 47:
                this.isVacationAsTMTCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 48:
                this.CommentsExpender = ((System.Windows.Controls.Expander)(target));
                return;

            case 49:
                this.UpdateNannyButton = ((System.Windows.Controls.Button)(target));

            #line 213 "..\..\..\nanny\UpdateNannyUserControl.xaml"
                this.UpdateNannyButton.Click += new System.Windows.RoutedEventHandler(this.UpdateNannyButton_Click);

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