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

            case 2:
                this.lstCashCounter = ((System.Windows.Controls.ListView)(target));
                return;

            case 3:
                this.lblHeader = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.cboBatch = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.btnBegin = ((System.Windows.Controls.Button)(target));

            #line 129 "..\..\..\Views\CashCounter.xaml"
                this.btnBegin.Click += new System.Windows.RoutedEventHandler(this.btnBegin_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnStop = ((System.Windows.Controls.Button)(target));

            #line 130 "..\..\..\Views\CashCounter.xaml"
                this.btnStop.Click += new System.Windows.RoutedEventHandler(this.btnStop_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnDelete = ((System.Windows.Controls.Button)(target));

            #line 131 "..\..\..\Views\CashCounter.xaml"
                this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnDeleteZero = ((System.Windows.Controls.Button)(target));

            #line 132 "..\..\..\Views\CashCounter.xaml"
                this.btnDeleteZero.Click += new System.Windows.RoutedEventHandler(this.btnDeleteZero_Click);

            #line default
            #line hidden
                return;

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

            #line 133 "..\..\..\Views\CashCounter.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.CashCounterControl = ((BMC.Presentation.CashCounter)(target));
     return;
     case 2:
     this.lstCashCounter = ((System.Windows.Controls.ListView)(target));
     return;
     case 3:
     this.lblHeader = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.cboBatch = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this.btnBegin = ((System.Windows.Controls.Button)(target));
     
     #line 129 "..\..\..\Views\CashCounter.xaml"
     this.btnBegin.Click += new System.Windows.RoutedEventHandler(this.btnBegin_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnStop = ((System.Windows.Controls.Button)(target));
     
     #line 130 "..\..\..\Views\CashCounter.xaml"
     this.btnStop.Click += new System.Windows.RoutedEventHandler(this.btnStop_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnDelete = ((System.Windows.Controls.Button)(target));
     
     #line 131 "..\..\..\Views\CashCounter.xaml"
     this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnDeleteZero = ((System.Windows.Controls.Button)(target));
     
     #line 132 "..\..\..\Views\CashCounter.xaml"
     this.btnDeleteZero.Click += new System.Windows.RoutedEventHandler(this.btnDeleteZero_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     
     #line 133 "..\..\..\Views\CashCounter.xaml"
     this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }