void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Root = ((Service_Reader.ViewEditServiceDay)(target));
                return;

            case 2:
                this.dtServiceDayEntered = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 4:
                this.txtArrivalOnsite = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

            case 16:
                this.txtPartsSupplied = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Root = ((Service_Reader.ViewEditServiceDay)(target));
     return;
     case 2:
     this.dtServiceDayEntered = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 3:
     this.txtTravelStart = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.txtArrivalOnsite = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.txtDepartSite = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.txtTravelEnd = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.txtMileage = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.txtDailyAllowance = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.txtOvernightAllowance = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.txtBarrierPayment = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.txtTotalTravelToSite = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.txtTotalTravelFromSite = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.txtTotalTravelTime = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.txtTotalTimeOnsite = ((System.Windows.Controls.TextBox)(target));
     return;
     case 15:
     this.txtDailyReport = ((System.Windows.Controls.TextBox)(target));
     return;
     case 16:
     this.txtPartsSupplied = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }