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

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Expander)(target));
                return;

            case 3:

            #line 34 "..\..\ServiceDayView.xaml"
                ((System.Windows.Controls.DatePicker)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.test);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            case 13:
                this.txtPartsSupplied = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UcServiceDayView = ((Service_Reader.ServiceDayView)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Expander)(target));
     return;
     case 3:
     
     #line 34 "..\..\ServiceDayView.xaml"
     ((System.Windows.Controls.DatePicker)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.test);
     
     #line default
     #line hidden
     return;
     case 4:
     this.txtArrivalOnsite = ((System.Windows.Controls.Primitives.DatePickerTextBox)(target));
     return;
     case 5:
     this.txtDepartSite = ((System.Windows.Controls.Primitives.DatePickerTextBox)(target));
     return;
     case 6:
     this.txtTravelEnd = ((System.Windows.Controls.Primitives.DatePickerTextBox)(target));
     return;
     case 7:
     this.txtMileage = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.txtTotalTravelToSite = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.txtTotalTravelFromSite = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.txtTotalTravelTime = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.txtTotalTimeOnsite = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.txtDailyReport = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.txtPartsSupplied = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }