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.buttonAdd = ((PosControls.PushButton)(target));

            #line 34 "..\..\..\CouponMaintenanceControl.xaml"
                this.buttonAdd.Selected += new System.EventHandler(this.button_Selected);

            #line default
            #line hidden
                return;

            case 4:
                this.buttonUpdate = ((PosControls.PushButton)(target));

            #line 36 "..\..\..\CouponMaintenanceControl.xaml"
                this.buttonUpdate.Selected += new System.EventHandler(this.button_Selected);

            #line default
            #line hidden
                return;

            case 5:
                this.buttonCancel = ((PosControls.PushButton)(target));

            #line 37 "..\..\..\CouponMaintenanceControl.xaml"
                this.buttonCancel.Selected += new System.EventHandler(this.button_Selected);

            #line default
            #line hidden
                return;

            case 6:
                this.listBox1 = ((PosControls.DragScrollListBox)(target));

            #line 39 "..\..\..\CouponMaintenanceControl.xaml"
                this.listBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.editorControl = ((PointOfSale.CouponEditorControl)(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 = ((PosControls.ConfigurationManager)(target));
                return;

            case 3:
                this.buttonAdd = ((PosControls.TextBlockButton)(target));

            #line 17 "..\..\..\CouponMaintenanceControl.xaml"
                this.buttonAdd.Click += new System.Windows.RoutedEventHandler(this.buttonAdd_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.buttonDelete = ((PosControls.TextBlockButton)(target));

            #line 18 "..\..\..\CouponMaintenanceControl.xaml"
                this.buttonDelete.Click += new System.Windows.RoutedEventHandler(this.buttonDelete_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.buttonUpdate = ((PosControls.TextBlockButton)(target));

            #line 21 "..\..\..\CouponMaintenanceControl.xaml"
                this.buttonUpdate.Click += new System.Windows.RoutedEventHandler(this.buttonUpdate_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.buttonCancel = ((PosControls.TextBlockButton)(target));

            #line 22 "..\..\..\CouponMaintenanceControl.xaml"
                this.buttonCancel.Click += new System.Windows.RoutedEventHandler(this.buttonCancel_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.groupBoxList = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 8:
                this.listBox1 = ((PosControls.DragScrollListBox)(target));

            #line 25 "..\..\..\CouponMaintenanceControl.xaml"
                this.listBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.groupBoxProperties = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 10:
                this.editorControl = ((PointOfSale.CouponEditorControl)(target));
                return;
            }
            this._contentLoaded = true;
        }