Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((BMC.Presentation.POS.Views.PromoTIS)(target));
                return;

            case 2:
                this.lblStartDate = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.VbPromoStartDate = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 4:
                this.dtpPromoStartDate = ((Microsoft.Windows.Controls.DatePicker)(target));

            #line 25 "..\..\..\Views\PromoTIS.xaml"
                this.dtpPromoStartDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dtpPromoStartDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\Views\PromoTIS.xaml"
                this.txtTISStartDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtTISStartDate_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.tmpPromoStartTime = ((AC.AvalonControlsLibrary.Controls.TimePicker)(target));
                return;

            case 7:
                this.lblEndDate = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.VbPromoEndDate = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 9:
                this.dtpPromoEndDate = ((Microsoft.Windows.Controls.DatePicker)(target));

            #line 34 "..\..\..\Views\PromoTIS.xaml"
                this.dtpPromoEndDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dtpPromoEndDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            case 11:
                this.tmpPromoEndTime = ((AC.AvalonControlsLibrary.Controls.TimePicker)(target));
                return;

            case 12:

            #line 40 "..\..\..\Views\PromoTIS.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnTISSearchOK_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 41 "..\..\..\Views\PromoTIS.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnTISSearchCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((BMC.Presentation.POS.Views.PromoTIS)(target));
     return;
     case 2:
     this.lblStartDate = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.VbPromoStartDate = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 4:
     this.dtpPromoStartDate = ((Microsoft.Windows.Controls.DatePicker)(target));
     
     #line 25 "..\..\..\Views\PromoTIS.xaml"
     this.dtpPromoStartDate.SelectedDateChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.dtpPromoStartDate_SelectedDateChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.txtTISStartDate = ((System.Windows.Controls.TextBox)(target));
     
     #line 27 "..\..\..\Views\PromoTIS.xaml"
     this.txtTISStartDate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtTISStartDate_TextChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.tmpPromoStartTime = ((AC.AvalonControlsLibrary.Controls.TimePicker)(target));
     return;
     case 7:
     this.lblEndDate = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.VbPromoEndDate = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 9:
     this.dtpPromoEndDate = ((Microsoft.Windows.Controls.DatePicker)(target));
     
     #line 34 "..\..\..\Views\PromoTIS.xaml"
     this.dtpPromoEndDate.SelectedDateChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.dtpPromoEndDate_SelectedDateChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.txtTISEndDate = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.tmpPromoEndTime = ((AC.AvalonControlsLibrary.Controls.TimePicker)(target));
     return;
     case 12:
     
     #line 40 "..\..\..\Views\PromoTIS.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnTISSearchOK_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 41 "..\..\..\Views\PromoTIS.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnTISSearchCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }