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 = ((PointOfSale.PushButton)(target));
                return;

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

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

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

            case 7:
                this.editorControl = ((PointOfSale.EmployeeJobEditorControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
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 = ((PosControls.ConfigurationManager)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.editorControl = ((PointOfSale.EmployeeJobEditorControl)(target));
                return;
            }
            this._contentLoaded = true;
        }