Exemple #1
0
        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 "..\..\..\TaxMaintenanceControl.xaml"
                this.buttonAdd.Selected += new System.EventHandler(this.button_Selected);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.editorControl = ((PointOfSale.TaxEditorControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.buttonAdd = ((PointOfSale.PushButton)(target));
                return;

            case 2:
                this.buttonUpdate = ((PointOfSale.PushButton)(target));
                return;

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

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

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

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

            #line default
            #line hidden
                return;

            case 6:
                this.editorControl = ((PointOfSale.TaxEditorControl)(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 16 "..\..\..\TaxMaintenanceControl.xaml"
                this.buttonAdd.Click += new System.Windows.RoutedEventHandler(this.buttonAdd_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 9:
                this.editorControl = ((PointOfSale.TaxEditorControl)(target));
                return;
            }
            this._contentLoaded = true;
        }