void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.upButton = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 84 "..\..\TwoIntegerNumericUpDown.xaml"
                this.upButton.Click += new System.Windows.RoutedEventHandler(this.UpClick);

            #line default
            #line hidden
                return;

            case 2:
                this.textBoxValue = ((ViewModelLib.IntegerTextBox)(target));
                return;

            case 3:
                this.DownButton = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 89 "..\..\TwoIntegerNumericUpDown.xaml"
                this.DownButton.Click += new System.Windows.RoutedEventHandler(this.DownClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 2:
                this.IntegerTextBox = ((ViewModelLib.IntegerTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }