void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DropHistoryControl = ((BMC.Presentation.CDropHistory)(target));
     return;
     case 2:
     this.chkFullCount = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 3:
     this.chkWeek = ((System.Windows.Controls.RadioButton)(target));
     
     #line 37 "..\..\..\Views\CDropHistory.xaml"
     this.chkWeek.Checked += new System.Windows.RoutedEventHandler(this.chkWeek_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.chkBatch = ((System.Windows.Controls.RadioButton)(target));
     
     #line 39 "..\..\..\Views\CDropHistory.xaml"
     this.chkBatch.Checked += new System.Windows.RoutedEventHandler(this.chkBatch_Checked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.chkPartCount = ((System.Windows.Controls.RadioButton)(target));
     
     #line 41 "..\..\..\Views\CDropHistory.xaml"
     this.chkPartCount.Checked += new System.Windows.RoutedEventHandler(this.chkPartCount_Checked);
     
     #line default
     #line hidden
     
     #line 41 "..\..\..\Views\CDropHistory.xaml"
     this.chkPartCount.Unchecked += new System.Windows.RoutedEventHandler(this.chkPartCount_UnChecked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.chkLast20 = ((System.Windows.Controls.CheckBox)(target));
     
     #line 45 "..\..\..\Views\CDropHistory.xaml"
     this.chkLast20.Checked += new System.Windows.RoutedEventHandler(this.chkLast20_Checked);
     
     #line default
     #line hidden
     
     #line 45 "..\..\..\Views\CDropHistory.xaml"
     this.chkLast20.Unchecked += new System.Windows.RoutedEventHandler(this.chkLast20_Unchecked);
     
     #line default
     #line hidden
     return;
     case 7:
     this.cboWeek = ((System.Windows.Controls.ComboBox)(target));
     
     #line 46 "..\..\..\Views\CDropHistory.xaml"
     this.cboWeek.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboWeek_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.cboSiteCode = ((System.Windows.Controls.ComboBox)(target));
     
     #line 61 "..\..\..\Views\CDropHistory.xaml"
     this.cboSiteCode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboSiteCode_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnDetails = ((System.Windows.Controls.Button)(target));
     
     #line 74 "..\..\..\Views\CDropHistory.xaml"
     this.btnDetails.Click += new System.Windows.RoutedEventHandler(this.btnDetails_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.dgFullBatchHistory = ((Microsoft.Windows.Controls.DataGrid)(target));
     return;
     case 11:
     this.dgFullWeekHistory = ((Microsoft.Windows.Controls.DataGrid)(target));
     return;
     case 12:
     this.dgPartCountHistory = ((Microsoft.Windows.Controls.DataGrid)(target));
     return;
     case 13:
     this.TodayTotal = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.TodayTotalQuantity = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.TotalCash = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.Quantity = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 17:
     this.txtTodayTotal = ((System.Windows.Controls.TextBox)(target));
     return;
     case 18:
     this.txtTodayTotalQty = ((System.Windows.Controls.TextBox)(target));
     return;
     case 19:
     this.txtTotalCash = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.txtQuantity = ((System.Windows.Controls.TextBox)(target));
     return;
     case 21:
     this.btnPartCollReport = ((System.Windows.Controls.Button)(target));
     
     #line 141 "..\..\..\Views\CDropHistory.xaml"
     this.btnPartCollReport.Click += new System.Windows.RoutedEventHandler(this.btnPartCollReport_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.DropHistoryControl = ((BMC.Presentation.CDropHistory)(target));
                return;

            case 2:
                this.chkFullCount = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 3:
                this.chkWeek = ((System.Windows.Controls.RadioButton)(target));

            #line 37 "..\..\..\Views\CDropHistory.xaml"
                this.chkWeek.Checked += new System.Windows.RoutedEventHandler(this.chkWeek_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.chkBatch = ((System.Windows.Controls.RadioButton)(target));

            #line 39 "..\..\..\Views\CDropHistory.xaml"
                this.chkBatch.Checked += new System.Windows.RoutedEventHandler(this.chkBatch_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.chkPartCount = ((System.Windows.Controls.RadioButton)(target));

            #line 41 "..\..\..\Views\CDropHistory.xaml"
                this.chkPartCount.Checked += new System.Windows.RoutedEventHandler(this.chkPartCount_Checked);

            #line default
            #line hidden

            #line 41 "..\..\..\Views\CDropHistory.xaml"
                this.chkPartCount.Unchecked += new System.Windows.RoutedEventHandler(this.chkPartCount_UnChecked);

            #line default
            #line hidden
                return;

            case 6:
                this.chkLast20 = ((System.Windows.Controls.CheckBox)(target));

            #line 45 "..\..\..\Views\CDropHistory.xaml"
                this.chkLast20.Checked += new System.Windows.RoutedEventHandler(this.chkLast20_Checked);

            #line default
            #line hidden

            #line 45 "..\..\..\Views\CDropHistory.xaml"
                this.chkLast20.Unchecked += new System.Windows.RoutedEventHandler(this.chkLast20_Unchecked);

            #line default
            #line hidden
                return;

            case 7:
                this.cboWeek = ((System.Windows.Controls.ComboBox)(target));

            #line 46 "..\..\..\Views\CDropHistory.xaml"
                this.cboWeek.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboWeek_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\Views\CDropHistory.xaml"
                this.cboSiteCode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboSiteCode_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.btnDetails = ((System.Windows.Controls.Button)(target));

            #line 74 "..\..\..\Views\CDropHistory.xaml"
                this.btnDetails.Click += new System.Windows.RoutedEventHandler(this.btnDetails_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.dgFullBatchHistory = ((Microsoft.Windows.Controls.DataGrid)(target));
                return;

            case 11:
                this.dgFullWeekHistory = ((Microsoft.Windows.Controls.DataGrid)(target));
                return;

            case 12:
                this.dgPartCountHistory = ((Microsoft.Windows.Controls.DataGrid)(target));
                return;

            case 13:
                this.TodayTotal = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.TodayTotalQuantity = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.TotalCash = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.Quantity = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

            case 20:
                this.txtQuantity = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.btnPartCollReport = ((System.Windows.Controls.Button)(target));

            #line 141 "..\..\..\Views\CDropHistory.xaml"
                this.btnPartCollReport.Click += new System.Windows.RoutedEventHandler(this.btnPartCollReport_Click);

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