Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LevelThree = ((MiniGame.Level3)(target));
                return;

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

            case 3:
                this.cbBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.First = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 5:
                this.Second = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 6:
                this.Third = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 7:
                this.AnswerButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }