示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\ConvergencePlot2D.xaml"
     ((APIAnt.ConvergencePlot2D)(target)).Closed += new System.EventHandler(this.Window_Closed_1);
     
     #line default
     #line hidden
     return;
     case 2:
     this.convergence2DChart = ((DevExpress.Xpf.Charts.ChartControl)(target));
     return;
     case 3:
     this.pane = ((DevExpress.Xpf.Charts.Pane)(target));
     return;
     case 4:
     this.Mediana = ((DevExpress.Xpf.Charts.LineSeries2D)(target));
     return;
     case 5:
     this.TheBest = ((DevExpress.Xpf.Charts.LineSeries2D)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 17 "..\..\..\View\BlotterViewVisual.xaml"
                ((BlotterView.Client.View.BlotterViewVisual)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

            case 4:
                this.lblborder4 = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 5:
                this.lblborder5 = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 6:
                this.cmboDesk = ((System.Windows.Controls.ComboBox)(target));

            #line 139 "..\..\..\View\BlotterViewVisual.xaml"
                this.cmboDesk.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmboDesk_SelectedIndexChanged);

            #line default
            #line hidden
                return;

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

            #line 147 "..\..\..\View\BlotterViewVisual.xaml"
                this._dataGrid.AutoGeneratingColumn += new DevExpress.Xpf.Grid.AutoGeneratingColumnEventHandler(this.grid_AutoGeneratingColumn_1);

            #line default
            #line hidden

            #line 152 "..\..\..\View\BlotterViewVisual.xaml"
                this._dataGrid.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this._dataGridModel_MouseDown);

            #line default
            #line hidden
                return;

            case 8:
                this.viewblotterGrid = ((DevExpress.Xpf.Grid.TableView)(target));

            #line 169 "..\..\..\View\BlotterViewVisual.xaml"
                this.viewblotterGrid.ShowGridMenu += new DevExpress.Xpf.Grid.GridMenuEventHandler(this.OnShowGridMenu);

            #line default
            #line hidden

            #line 172 "..\..\..\View\BlotterViewVisual.xaml"
                this.viewblotterGrid.CustomRowAppearance += new System.EventHandler <DevExpress.Xpf.Grid.CustomRowAppearanceEventArgs>(this.viewAccountTax_CustomRowAppearance);

            #line default
            #line hidden

            #line 173 "..\..\..\View\BlotterViewVisual.xaml"
                this.viewblotterGrid.CustomCellAppearance += new System.EventHandler <DevExpress.Xpf.Grid.CustomCellAppearanceEventArgs>(this.viewAccountTax_CustomCellAppearance);

            #line default
            #line hidden
                return;

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

            case 10:
                this._dataGridBroker = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 11:
                this.viewBroker = ((DevExpress.Xpf.Grid.TableView)(target));

            #line 286 "..\..\..\View\BlotterViewVisual.xaml"
                this.viewBroker.ShowGridMenu += new DevExpress.Xpf.Grid.GridMenuEventHandler(this.OnShowGridMenu);

            #line default
            #line hidden

            #line 289 "..\..\..\View\BlotterViewVisual.xaml"
                this.viewBroker.CustomRowAppearance += new System.EventHandler <DevExpress.Xpf.Grid.CustomRowAppearanceEventArgs>(this.viewAccountTax_CustomRowAppearance);

            #line default
            #line hidden

            #line 290 "..\..\..\View\BlotterViewVisual.xaml"
                this.viewBroker.CustomCellAppearance += new System.EventHandler <DevExpress.Xpf.Grid.CustomCellAppearanceEventArgs>(this.viewAccountTax_CustomCellAppearance);

            #line default
            #line hidden
                return;

            case 12:
                this.chk1d = ((System.Windows.Controls.RadioButton)(target));

            #line 331 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk1d.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden

            #line 331 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk1d.Unchecked += new System.Windows.RoutedEventHandler(this.RadioButton_Unchecked);

            #line default
            #line hidden
                return;

            case 13:
                this.chk5d = ((System.Windows.Controls.RadioButton)(target));

            #line 332 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk5d.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden

            #line 332 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk5d.Unchecked += new System.Windows.RoutedEventHandler(this.RadioButton_Unchecked);

            #line default
            #line hidden
                return;

            case 14:
                this.chk1M = ((System.Windows.Controls.RadioButton)(target));

            #line 333 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk1M.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden

            #line 333 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk1M.Unchecked += new System.Windows.RoutedEventHandler(this.RadioButton_Unchecked);

            #line default
            #line hidden
                return;

            case 15:
                this.chk3M = ((System.Windows.Controls.RadioButton)(target));

            #line 334 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk3M.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden

            #line 334 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk3M.Unchecked += new System.Windows.RoutedEventHandler(this.RadioButton_Unchecked);

            #line default
            #line hidden
                return;

            case 16:
                this.chk6M = ((System.Windows.Controls.RadioButton)(target));

            #line 335 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk6M.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden

            #line 335 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk6M.Unchecked += new System.Windows.RoutedEventHandler(this.RadioButton_Unchecked);

            #line default
            #line hidden
                return;

            case 17:
                this.chkYTD = ((System.Windows.Controls.RadioButton)(target));

            #line 336 "..\..\..\View\BlotterViewVisual.xaml"
                this.chkYTD.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden

            #line 336 "..\..\..\View\BlotterViewVisual.xaml"
                this.chkYTD.Unchecked += new System.Windows.RoutedEventHandler(this.RadioButton_Unchecked);

            #line default
            #line hidden
                return;

            case 18:
                this.chk1y = ((System.Windows.Controls.RadioButton)(target));

            #line 337 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk1y.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden

            #line 337 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk1y.Unchecked += new System.Windows.RoutedEventHandler(this.RadioButton_Unchecked);

            #line default
            #line hidden
                return;

            case 19:
                this.chk2y = ((System.Windows.Controls.RadioButton)(target));

            #line 338 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk2y.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden

            #line 338 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk2y.Unchecked += new System.Windows.RoutedEventHandler(this.RadioButton_Unchecked);

            #line default
            #line hidden
                return;

            case 20:
                this.chk5y = ((System.Windows.Controls.RadioButton)(target));

            #line 339 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk5y.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden

            #line 339 "..\..\..\View\BlotterViewVisual.xaml"
                this.chk5y.Unchecked += new System.Windows.RoutedEventHandler(this.RadioButton_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 353 "..\..\..\View\BlotterViewVisual.xaml"
                this.SecurityComboBoxEdit.LostFocus += new System.Windows.RoutedEventHandler(this.SecurityComboBoxEdit_LostFocus_1);

            #line default
            #line hidden

            #line 353 "..\..\..\View\BlotterViewVisual.xaml"
                this.SecurityComboBoxEdit.EditValueChanged += new DevExpress.Xpf.Editors.EditValueChangedEventHandler(this.SecurityComboBoxEdit_EditValueChanged_1);

            #line default
            #line hidden
                return;

            case 22:

            #line 360 "..\..\..\View\BlotterViewVisual.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.imageVisibilty = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 24:
                this.chart = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 25:
                this.chPrice = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 26:
                this.chLow = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 27:
                this.chHigh = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 28:
                this.chVolumne = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 29:
                this.chChange = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 30:
                this.temperaturePane = ((DevExpress.Xpf.Charts.Pane)(target));
                return;

            case 31:
                this.pressurePane = ((DevExpress.Xpf.Charts.Pane)(target));
                return;

            case 32:
                this.humidityPane = ((DevExpress.Xpf.Charts.Pane)(target));
                return;

            case 33:
                this.pressureAxis = ((DevExpress.Xpf.Charts.SecondaryAxisY2D)(target));
                return;

            case 34:
                this.humidityAxis = ((DevExpress.Xpf.Charts.SecondaryAxisY2D)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#3
0
文件: Chart.g.i.cs 项目: kdworak/API
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.convergence2DChart = ((DevExpress.Xpf.Charts.ChartControl)(target));
     return;
     case 2:
     this.pane = ((DevExpress.Xpf.Charts.Pane)(target));
     return;
     case 3:
     this.Mediana = ((DevExpress.Xpf.Charts.LineSeries2D)(target));
     return;
     case 4:
     this.TheBest = ((DevExpress.Xpf.Charts.LineSeries2D)(target));
     return;
     }
     this._contentLoaded = true;
 }