Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainMenuScreen = ((KeeganFinalProjectForms.MainMenu)(target));
                return;

            case 2:
                this.lblMainMenu = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.txbMainMenuDescription = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.btnNewReservation = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.btnRoomManagement = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.btnReservationReport = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.btnExit = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainMenu = ((KeeganFinalProjectForms.MainMenu)(target));
                return;

            case 2:
                this.lblMainMenu = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.txbMainMenuDescription = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }