Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\HalfCirclePanel\HalfCircleExample.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GoToNextItem);

            #line default
            #line hidden

            #line 11 "..\..\..\HalfCirclePanel\HalfCircleExample.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CanGoToNextItem);

            #line default
            #line hidden
                return;

            case 2:

            #line 13 "..\..\..\HalfCirclePanel\HalfCircleExample.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GoToPreviousItem);

            #line default
            #line hidden

            #line 14 "..\..\..\HalfCirclePanel\HalfCircleExample.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CanGoToPreviousItem);

            #line default
            #line hidden
                return;

            case 3:
                this.ItemGapSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 4:
                this.ItemWidthSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 5:
                this.ItemHeightSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 6:

            #line 84 "..\..\..\HalfCirclePanel\HalfCircleExample.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeOrientation);

            #line default
            #line hidden
                return;

            case 7:

            #line 88 "..\..\..\HalfCirclePanel\HalfCircleExample.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeOrientation);

            #line default
            #line hidden
                return;

            case 8:
                this.Scroller = ((System.Windows.Controls.Primitives.ScrollBar)(target));
                return;

            case 9:
                this.CircPanel = ((FluidKit.Controls.HalfCirclePanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 10 "..\..\Page1.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GoToNextItem);
     
     #line default
     #line hidden
     
     #line 11 "..\..\Page1.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CanGoToNextItem);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 13 "..\..\Page1.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GoToPreviousItem);
     
     #line default
     #line hidden
     
     #line 14 "..\..\Page1.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CanGoToPreviousItem);
     
     #line default
     #line hidden
     return;
     case 3:
     this.ItemGapSlider = ((System.Windows.Controls.Slider)(target));
     return;
     case 4:
     this.ItemWidthSlider = ((System.Windows.Controls.Slider)(target));
     return;
     case 5:
     this.ItemHeightSlider = ((System.Windows.Controls.Slider)(target));
     return;
     case 6:
     
     #line 84 "..\..\Page1.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeOrientation);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 88 "..\..\Page1.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeOrientation);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Scroller = ((System.Windows.Controls.Primitives.ScrollBar)(target));
     return;
     case 9:
     this.CircPanel = ((FluidKit.Controls.HalfCirclePanel)(target));
     return;
     }
     this._contentLoaded = true;
 }