Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ctrlPad = ((WpfKeypad.View.numPad)(target));
                return;

            case 2:
                this.ctrlText = ((WpfKeypad.View.NumText)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ctrlPad = ((WpfKeypad.View.numPad)(target));
                return;

            case 2:
                this.bntSeven = ((System.Windows.Controls.Button)(target));
                return;

            case 3:
                this.bntEight = ((System.Windows.Controls.Button)(target));
                return;

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

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

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

            case 7:
                this.bntFive = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.bntSix = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.bntClear = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.bntOner = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.bntTwo = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.bntThree = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.bntZero4 = ((System.Windows.Controls.Button)(target));
                return;

            case 14:
                this.bntZero = ((System.Windows.Controls.Button)(target));
                return;

            case 15:
                this.bntZero2 = ((System.Windows.Controls.Button)(target));
                return;

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