void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.directionControl = ((Calculatrice.CustomControls.DirectionalControl)(target));
                return;

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

            #line 29 "..\..\..\CustomControls\DirectionalControl.xaml"
                this.DirectionalButton.Click += new System.Windows.RoutedEventHandler(this.onDirectionalButtonClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DirectionalUp = ((Calculatrice.CustomControls.DirectionalControl)(target));
                return;

            case 2:
                this.DirectionalRight = ((Calculatrice.CustomControls.DirectionalControl)(target));
                return;

            case 3:
                this.DirectionalLeft = ((Calculatrice.CustomControls.DirectionalControl)(target));
                return;

            case 4:
                this.DirectionalDown = ((Calculatrice.CustomControls.DirectionalControl)(target));
                return;
            }
            this._contentLoaded = true;
        }