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

            #line 10 "..\..\AddNannyWindow.xaml"
                ((PLWPF.AddNannyWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ForUserC);

            #line default
            #line hidden
                return;

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

            case 3:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.nannyAddressTextBox = ((GoogleMapWpfApp.PlaceAutoCompleteUC)(target));

            #line 65 "..\..\AddNannyWindow.xaml"
                this.nannyAddressTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

            case 5:
                this.nannyDateDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 6:
                this.nannyFirstNameTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 69 "..\..\AddNannyWindow.xaml"
                this.nannyFirstNameTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden

            #line 69 "..\..\AddNannyWindow.xaml"
                this.nannyFirstNameTextBox.SelectionChanged += new System.Windows.RoutedEventHandler(this.ChecksforDigits);

            #line default
            #line hidden
                return;

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

            case 8:
                this.nannyHaveElevatorCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            #line 77 "..\..\AddNannyWindow.xaml"
                this.nannyIdTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

            case 11:
                this.nannyIsHourlysalaryCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 81 "..\..\AddNannyWindow.xaml"
                this.nannyLastNameTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden

            #line 81 "..\..\AddNannyWindow.xaml"
                this.nannyLastNameTextBox.SelectionChanged += new System.Windows.RoutedEventHandler(this.ChecksforDigits);

            #line default
            #line hidden
                return;

            case 13:
                this.nannyMaxKidsAgeDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 15:
                this.nannyMinKidsAgeDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 16:
                this.nannyPhoneNumberTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 89 "..\..\AddNannyWindow.xaml"
                this.nannyPhoneNumberTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

            case 17:
                this.nannyRecommendationsTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 91 "..\..\AddNannyWindow.xaml"
                this.nannyRecommendationsTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

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

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

            #line 95 "..\..\AddNannyWindow.xaml"
                this.nannyTariffForHourTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

            case 20:
                this.nannyTariffForMonthTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 97 "..\..\AddNannyWindow.xaml"
                this.nannyTariffForMonthTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

            case 21:
                this.nannyYearsExperienceTextBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 22:
                this.niceTextBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 23:
                this.IndicationImage01 = ((System.Windows.Controls.Image)(target));
                return;

            case 24:
                this.IndicationImage02 = ((System.Windows.Controls.Image)(target));
                return;

            case 25:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.IndicationImage21 = ((System.Windows.Controls.Image)(target));
                return;

            case 27:
                this.IndicationImage22 = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.IndicationImage11 = ((System.Windows.Controls.Image)(target));
                return;

            case 29:
                this.IndicationImage12 = ((System.Windows.Controls.Image)(target));
                return;

            case 30:
                this.IndicationImage31 = ((System.Windows.Controls.Image)(target));
                return;

            case 31:
                this.IndicationImage32 = ((System.Windows.Controls.Image)(target));
                return;

            case 32:
                this.IndicationImage41 = ((System.Windows.Controls.Image)(target));
                return;

            case 33:
                this.IndicationImage42 = ((System.Windows.Controls.Image)(target));
                return;

            case 34:
                this.IndicationImage51 = ((System.Windows.Controls.Image)(target));
                return;

            case 35:
                this.IndicationImage52 = ((System.Windows.Controls.Image)(target));
                return;

            case 36:
                this.IndicationImage61 = ((System.Windows.Controls.Image)(target));
                return;

            case 37:
                this.IndicationImage62 = ((System.Windows.Controls.Image)(target));
                return;

            case 38:
                this.NannyImage = ((System.Windows.Controls.Image)(target));

            #line 138 "..\..\AddNannyWindow.xaml"
                this.NannyImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ImageMouseClick_Bottun);

            #line default
            #line hidden
                return;

            case 39:
                this.AddNannybutton = ((System.Windows.Controls.Button)(target));

            #line 139 "..\..\AddNannyWindow.xaml"
                this.AddNannybutton.Click += new System.Windows.RoutedEventHandler(this.AddNannybutton_Click_1);

            #line default
            #line hidden
                return;

            case 40:
                this.UserControOfTheWeek = ((PLWPF.UserControOfTheWeek)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid0 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.kilometerAroundTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 61 "..\..\AddMotherWindow.xaml"
                this.kilometerAroundTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

            case 4:
                this.motherAddressTextBox = ((GoogleMapWpfApp.PlaceAutoCompleteUC)(target));
                return;

            case 5:
                this.motherAroundAddressTextBox = ((GoogleMapWpfApp.PlaceAutoCompleteUC)(target));
                return;

            case 6:
                this.motherDateDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 69 "..\..\AddMotherWindow.xaml"
                this.motherFirstNameTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden

            #line 69 "..\..\AddMotherWindow.xaml"
                this.motherFirstNameTextBox.SelectionChanged += new System.Windows.RoutedEventHandler(this.ChecksforDigits);

            #line default
            #line hidden
                return;

            case 8:
                this.motherHaveElevatorCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            #line 75 "..\..\AddMotherWindow.xaml"
                this.motherIdTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

            case 11:
                this.motherIsHourlysalaryCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 79 "..\..\AddMotherWindow.xaml"
                this.motherKidsAverageTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\AddMotherWindow.xaml"
                this.motherLastNameTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden

            #line 81 "..\..\AddMotherWindow.xaml"
                this.motherLastNameTextBox.SelectionChanged += new System.Windows.RoutedEventHandler(this.ChecksforDigits);

            #line default
            #line hidden
                return;

            case 14:
                this.motherMaxKidsAgeTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.motherMinKidsAgeTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.motherPhoneNumberTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 87 "..\..\AddMotherWindow.xaml"
                this.motherPhoneNumberTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

            case 17:
                this.motherRemarksTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.motherTariffForHourTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 91 "..\..\AddMotherWindow.xaml"
                this.motherTariffForHourTextBox.AddHandler(System.Windows.Controls.Validation.ErrorEvent, new System.EventHandler <System.Windows.Controls.ValidationErrorEventArgs>(this.validation_Error));

            #line default
            #line hidden
                return;

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

            case 20:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.IndicationImage12 = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this.MotherImage = ((System.Windows.Controls.Image)(target));

            #line 108 "..\..\AddMotherWindow.xaml"
                this.MotherImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ImageMouseClick_Bottun);

            #line default
            #line hidden
                return;

            case 23:
                this.AddMotherbutton = ((System.Windows.Controls.Button)(target));

            #line 109 "..\..\AddMotherWindow.xaml"
                this.AddMotherbutton.Click += new System.Windows.RoutedEventHandler(this.AddMotherbutton_Click_1);

            #line default
            #line hidden
                return;

            case 24:
                this.IndicationImage12_Copy1 = ((System.Windows.Controls.Image)(target));
                return;

            case 25:
                this.IndicationImage12_Copy2 = ((System.Windows.Controls.Image)(target));
                return;

            case 26:
                this.IndicationImage12_Copy3 = ((System.Windows.Controls.Image)(target));
                return;

            case 27:
                this.IndicationImage12_Copy4 = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.IndicationImage12_Copy8 = ((System.Windows.Controls.Image)(target));
                return;

            case 29:
                this.IndicationImage11_Copy1 = ((System.Windows.Controls.Image)(target));
                return;

            case 30:
                this.IndicationImage11_Copy2 = ((System.Windows.Controls.Image)(target));
                return;

            case 31:
                this.IndicationImage11_Copy4 = ((System.Windows.Controls.Image)(target));
                return;

            case 32:
                this.IndicationImage11_Copy6 = ((System.Windows.Controls.Image)(target));
                return;

            case 33:
                this.IndicationImage11_Copy7 = ((System.Windows.Controls.Image)(target));
                return;

            case 34:
                this.IndicationImage11_Copy10 = ((System.Windows.Controls.Image)(target));
                return;

            case 35:
                this.UserControOfTheWeek = ((PLWPF.UserControOfTheWeek)(target));
                return;
            }
            this._contentLoaded = true;
        }