Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MasterCollection = ((PointOfSale.ReceiptTape)(target));
                return;

            case 2:
                this.SplitCollection = ((System.Windows.Controls.ListBox)(target));
                return;

            case 3:
                this.Button1 = ((PointOfSale.PushButton)(target));
                return;

            case 4:
                this.Button2 = ((PointOfSale.PushButton)(target));
                return;

            case 5:
                this.Button3 = ((PointOfSale.PushButton)(target));
                return;

            case 6:
                this.Button4 = ((PointOfSale.PushButton)(target));
                return;

            case 7:
                this.Button5 = ((PointOfSale.PushButton)(target));
                return;

            case 8:
                this.Button6 = ((PointOfSale.PushButton)(target));
                return;

            case 9:
                this.Button7 = ((PointOfSale.PushButton)(target));
                return;

            case 10:
                this.Button8 = ((PointOfSale.PushButton)(target));
                return;

            case 11:
                this.Button9 = ((PointOfSale.PushButton)(target));
                return;

            case 12:
                this.Button10 = ((PointOfSale.PushButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.Configuration = ((PointOfSale.ConfigurationManager)(target));
                return;

            case 3:
                this.listboxSourceTicket = ((System.Windows.Controls.ListBox)(target));

            #line 55 "..\..\..\TicketItemTransferControl.xaml"
                this.listboxSourceTicket.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listboxSourceTicket_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.receiptTape = ((PointOfSale.ReceiptTape)(target));
                return;

            case 5:
                this.listBoxDestinationTicket = ((System.Windows.Controls.ListBox)(target));

            #line 57 "..\..\..\TicketItemTransferControl.xaml"
                this.listBoxDestinationTicket.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxDestinationTicket_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.buttonAddTicket = ((PointOfSale.PushButton)(target));
                return;

            case 7:
                this.buttonRemoveTicket = ((PointOfSale.PushButton)(target));
                return;

            case 8:
                this.buttonEditParty = ((PointOfSale.PushButton)(target));
                return;

            case 9:
                this.buttonSelectAll = ((PointOfSale.PushButton)(target));
                return;

            case 10:
                this.buttonUnselect = ((PointOfSale.PushButton)(target));
                return;

            case 11:
                this.buttonSingleTicket = ((PointOfSale.PushButton)(target));
                return;

            case 12:
                this.buttonClose = ((PointOfSale.PushButton)(target));
                return;
            }
            this._contentLoaded = true;
        }