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

            case 2:
                this.addressTextBox = ((UI.GOOGLE.PlaceAutoCompleteUC)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 20:
                this.CB1 = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 22:
                this.CB3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 23:
                this.CB4 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 24:
                this.CB5 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 25:
                this.CB6 = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 27:
                this.sundayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 28:
                this.mondayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 29:
                this.tuesdayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 30:
                this.wednesdayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 31:
                this.thursdayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 32:
                this.fridayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 33:
                this.saturdayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 34:
                this.sundayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 35:
                this.mondayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 36:
                this.tuesdayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 37:
                this.wednesdayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 38:
                this.thursdayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 39:
                this.fridayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 40:
                this.saturdayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 41:

            #line 130 "..\..\..\ADD\AddNanny.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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

            case 2:
                this.addressTextBox = ((UI.GOOGLE.PlaceAutoCompleteUC)(target));
                return;

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

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

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

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

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

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

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

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

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

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

            case 13:
                this.CB4 = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

            case 17:
                this.sundayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 18:
                this.mondayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 19:
                this.tuesdayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 20:
                this.wednesdayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 21:
                this.thursdayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 22:
                this.fridayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 23:
                this.saturdayBegT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 24:
                this.sundayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 25:
                this.mondayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 26:
                this.tuesdayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 27:
                this.wednesdayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 28:
                this.thursdayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 29:
                this.fridayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 30:
                this.saturdayEndT = ((Microsoft.Windows.Controls.TimePicker)(target));
                return;

            case 31:

            #line 102 "..\..\..\UPDATE\UpdateMother.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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