Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyScrollBox = ((DevExpress.Xpf.LayoutControl.ScrollBox)(target));
                return;

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

            #line 37 "..\..\MainWindow.xaml"
                this.BtnLeft.Click += new System.Windows.RoutedEventHandler(this.BtnLeft_OnClick);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\MainWindow.xaml"
                this.BtnRight.Click += new System.Windows.RoutedEventHandler(this.BtnRight_OnClick);

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

            #line 8 "..\..\BarChartControl.xaml"
                ((BarChartControlDemo.BarChartControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.BarChartControl_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.HeaderGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.LeftGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.MainBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.MainGridForRow1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.MainGridFrom0To1Content = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.MyScrollBoxFrom0To1 = ((DevExpress.Xpf.LayoutControl.ScrollBox)(target));
                return;

            case 8:
                this.MainBarContent = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 141 "..\..\BarChartControl.xaml"
                this.BtnLeft.Click += new System.Windows.RoutedEventHandler(this.BtnLeft_OnClick);

            #line default
            #line hidden
                return;

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

            #line 151 "..\..\BarChartControl.xaml"
                this.BtnRight.Click += new System.Windows.RoutedEventHandler(this.BtnRight_OnClick);

            #line default
            #line hidden
                return;

            case 11:
                this.BottomGrid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }