void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\SeatingMaintenanceControl.xaml"
                ((PointOfSale.SeatingMaintenanceControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.Configuration = ((PosControls.ConfigurationManager)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\SeatingMaintenanceControl.xaml"
                this.buttonEditToggle.Click += new System.Windows.RoutedEventHandler(this.buttonEditToggle_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 11:
                this.groupBoxSeating = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 12:
                this.seatingEditorControl = ((PointOfSale.SeatingEditorControl)(target));
                return;

            case 13:
                this.groupBoxRoom = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 14:
                this.roomEditorControl = ((PointOfSale.SeatingRoomEditorControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\SeatingMaintenanceControl.xaml"
                ((PointOfSale.SeatingMaintenanceControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 9:
                this.roomEditorControl = ((PointOfSale.RoomEditorControl)(target));
                return;

            case 10:
                this.seatingEditorControl = ((PointOfSale.SeatingEditorControl)(target));
                return;
            }
            this._contentLoaded = true;
        }