Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ResearcherGrid = ((DevExpress.Xpf.Grid.TreeListControl)(target));
     
     #line 12 "..\..\MainWindow.xaml"
     this.ResearcherGrid.SelectedItemChanged += new DevExpress.Xpf.Grid.SelectedItemChangedEventHandler(this.SelectedItemChanged);
     
     #line default
     #line hidden
     
     #line 12 "..\..\MainWindow.xaml"
     this.ResearcherGrid.SelectionChanged += new DevExpress.Xpf.Grid.TreeList.TreeListSelectionChangedEventHandler(this.SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.rangeControl = ((DevExpress.Xpf.Editors.RangeControl.RangeControl)(target));
     return;
     case 3:
     this.BarChart1 = ((DevExpress.Xpf.Charts.ChartControl)(target));
     return;
     case 4:
     this.BarSeries1 = ((DevExpress.Xpf.Charts.BarSideBySideSeries2D)(target));
     return;
     case 5:
     this.BarChart2 = ((DevExpress.Xpf.Charts.ChartControl)(target));
     return;
     case 6:
     this.BarSeries2 = ((DevExpress.Xpf.Charts.BarSideBySideSeries2D)(target));
     return;
     case 7:
     this.BarChart3 = ((DevExpress.Xpf.Charts.ChartControl)(target));
     return;
     case 8:
     this.BarSeries3 = ((DevExpress.Xpf.Charts.BarSideBySideSeries2D)(target));
     return;
     case 9:
     this.PointChart = ((DevExpress.Xpf.Charts.ChartControl)(target));
     return;
     case 10:
     this.XYDiagram2D = ((DevExpress.Xpf.Charts.XYDiagram2D)(target));
     return;
     case 11:
     this.PointSeries2D = ((DevExpress.Xpf.Charts.PointSeries2D)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\..\View\TestSampleView.xaml"
                ((Linedata.Client.Widget.TestSampleWidget.View.TestSampleView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 3:
                this.TopAccountsBar = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 4:
                this.TopIssuers = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 5:
                this.TopSecurities = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 6:
                this.ChartHierarchy = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 7:
                this.ChartHierarchySeries = ((DevExpress.Xpf.Charts.PieSeries2D)(target));
                return;

            case 8:
                this.ChartPerformance = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 9:
                this.ChartTopCmplSecurities = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 10:
                this.AssetAllocationSeries = ((DevExpress.Xpf.Charts.PieSeries2D)(target));
                return;

            case 11:
                this.ChartBreachesBySeverity = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 12:
                this.ComplianceSeverityChart = ((DevExpress.Xpf.Charts.PieSeries2D)(target));
                return;

            case 13:
                this.ChartVsBenchmark = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 14:
                this.AssetUnderBubble = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 15:
                this.ChartMaturities = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 16:
                this.test = ((DevExpress.Xpf.Charts.PointSeries2D)(target));
                return;

            case 17:
                this._dataGrid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 18:
                this._viewDataGrid = ((DevExpress.Xpf.Grid.TableView)(target));

            #line 480 "..\..\..\..\View\TestSampleView.xaml"
                this._viewDataGrid.ShowGridMenu += new DevExpress.Xpf.Grid.GridMenuEventHandler(this.OnShowGridMenu);

            #line default
            #line hidden
                return;

            case 19:
                this.lblheader = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.lblhierarchy = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.comboBoxEdit1 = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));

            #line 552 "..\..\..\..\View\TestSampleView.xaml"
                this.comboBoxEdit1.EditValueChanged += new DevExpress.Xpf.Editors.EditValueChangedEventHandler(this.comboBoxEdit1_EditValueChanged);

            #line default
            #line hidden

            #line 559 "..\..\..\..\View\TestSampleView.xaml"
                this.comboBoxEdit1.LostFocus += new System.Windows.RoutedEventHandler(this.comboBoxEdit1_LostFocus_1);

            #line default
            #line hidden
                return;

            case 22:
                this.cmboView = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));

            #line 576 "..\..\..\..\View\TestSampleView.xaml"
                this.cmboView.SelectedIndexChanged += new System.Windows.RoutedEventHandler(this.cmboView_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.lblColorIndicator = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }