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

            #line 30 "..\..\..\Mother\MotherWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            case 3:
                this.address = ((UL.UserControl.PlaceAutoCompleteUC)(target));
                return;

            case 4:
                this.addressAround = ((UL.UserControl.PlaceAutoCompleteUC)(target));
                return;

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

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

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

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

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

            case 10:
                this.time = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 12:
                this.startSun = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 13:
                this.endSun = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

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

            case 15:
                this.startMon = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 16:
                this.endMon = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 17:
                this.checkTue = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 18:
                this.startTue = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 19:
                this.endTue = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

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

            case 21:
                this.startWed = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 22:
                this.endWed = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

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

            case 24:
                this.startThu = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 25:
                this.endThu = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

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

            case 27:
                this.startFri = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 28:
                this.endFri = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 25 "..\..\..\Nanny\UpdateNanny.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            case 3:
                this.address = ((UL.UserControl.PlaceAutoCompleteUC)(target));
                return;

            case 4:
                this.daysOOfCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 5:
                this.elevatorCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

            #line 60 "..\..\..\Nanny\UpdateNanny.xaml"
                this.idComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.idComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            case 19:
                this.time = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 21:
                this.startSun = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 22:
                this.endSun = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

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

            case 24:
                this.startMon = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 25:
                this.endMon = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

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

            case 27:
                this.startTue = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 28:
                this.endTue = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 29:
                this.checkWed = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 30:
                this.startWed = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 31:
                this.endWed = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 32:
                this.checkThu = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 33:
                this.startThu = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 34:
                this.endThu = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 35:
                this.checkFri = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 36:
                this.startFri = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 37:
                this.endFri = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }