Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\MainWindow.xaml"
                ((StockAnalyse.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.txtFilePath = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 15 "..\..\..\MainWindow.xaml"
                this.btnOpenFile.Click += new System.Windows.RoutedEventHandler(this.btnOpenFile_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.stockChart = ((AmCharts.Windows.Stock.StockChart)(target));
                return;

            case 5:
                this.stockSet1 = ((AmCharts.Windows.Stock.Data.DataSet)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((GoldAnalyse.MainWindow)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Window_MouseMove);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                ((GoldAnalyse.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));

            #line 12 "..\..\..\MainWindow.xaml"
                this.tabControl1.MouseMove += new System.Windows.Input.MouseEventHandler(this.tabControl1_MouseMove);

            #line default
            #line hidden
                return;

            case 3:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 4:
                this.stockChart = ((AmCharts.Windows.Stock.StockChart)(target));

            #line 20 "..\..\..\MainWindow.xaml"
                this.stockChart.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.stockChart_MouseRightButtonDown);

            #line default
            #line hidden

            #line 20 "..\..\..\MainWindow.xaml"
                this.stockChart.MouseMove += new System.Windows.Input.MouseEventHandler(this.stockChart_MouseMove);

            #line default
            #line hidden
                return;

            case 5:
                this.stockSet1 = ((AmCharts.Windows.Stock.Data.DataSet)(target));
                return;

            case 6:
                this.cm = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 7:
                this.MenuItem_Lock = ((System.Windows.Controls.MenuItem)(target));

            #line 32 "..\..\..\MainWindow.xaml"
                this.MenuItem_Lock.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Lock_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 33 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 41 "..\..\..\MainWindow.xaml"
                ((AmCharts.Windows.Stock.Chart)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Chart_MouseMove);

            #line default
            #line hidden

            #line 41 "..\..\..\MainWindow.xaml"
                ((AmCharts.Windows.Stock.Chart)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Chart_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 10:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.contentControl1 = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 12:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.dataGrid_Record = ((System.Windows.Controls.DataGrid)(target));

            #line 85 "..\..\..\MainWindow.xaml"
                this.dataGrid_Record.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid_Record_PreviewMouseDoubleClick);

            #line default
            #line hidden
                return;

            case 14:
                this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 15:
                this.chart1 = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
                return;

            case 16:
                this.LineSeries1 = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));

            #line 99 "..\..\..\MainWindow.xaml"
                this.LineSeries1.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.LineSeries1_PreviewMouseRightButtonDown);

            #line default
            #line hidden

            #line 99 "..\..\..\MainWindow.xaml"
                this.LineSeries1.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.LineSeries1_PreviewMouseMove);

            #line default
            #line hidden

            #line 99 "..\..\..\MainWindow.xaml"
                this.LineSeries1.MouseMove += new System.Windows.Input.MouseEventHandler(this.LineSeries1_MouseMove);

            #line default
            #line hidden
                return;

            case 17:
                this.LineSeries2 = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 18:
                this.LineSeries3 = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 19:
                this.LineSeries4 = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 20:
                this.LineSeries5 = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 21:
                this.LineSeries6 = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 22:
                this.LineSeries7 = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 23:
                this.LineSeries8 = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));

            #line 161 "..\..\..\MainWindow.xaml"
                this.LineSeries8.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.LineSeries8_PreviewMouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 24:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 172 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.chart2 = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
                return;

            case 26:
                this.LineSeries10 = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 27:
                this.LineSeries11 = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 28:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.label_DJI = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.label_CCMP = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.label_SCIN = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.label_DJI_Change = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.label_CCMP_Change = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.label_SCIN_Change = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.label_DJI_ChangePer = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.label_CCMP_ChangePer = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.label_SCIN_ChangePer = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.label_DJI_Time = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.label_CCMP_Time = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.label_SCIN_Time = ((System.Windows.Controls.Label)(target));
                return;

            case 47:
                this.label10 = ((System.Windows.Controls.Label)(target));
                return;

            case 48:
                this.label11 = ((System.Windows.Controls.Label)(target));
                return;

            case 49:
                this.label12 = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.label13 = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.label14 = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.label15 = ((System.Windows.Controls.Label)(target));
                return;

            case 53:
                this.label16 = ((System.Windows.Controls.Label)(target));
                return;

            case 54:
                this.label_Price_Buy = ((System.Windows.Controls.Label)(target));
                return;

            case 55:
                this.label_IntPrice_Buy = ((System.Windows.Controls.Label)(target));
                return;

            case 56:
                this.label_Price_Sell = ((System.Windows.Controls.Label)(target));
                return;

            case 57:
                this.label_IntPrice_Sell = ((System.Windows.Controls.Label)(target));
                return;

            case 58:
                this.label_Price_Change = ((System.Windows.Controls.Label)(target));
                return;

            case 59:
                this.label_IntPrice_Change = ((System.Windows.Controls.Label)(target));
                return;

            case 60:
                this.label17 = ((System.Windows.Controls.Label)(target));
                return;

            case 61:
                this.label_Price_ChangePer = ((System.Windows.Controls.Label)(target));
                return;

            case 62:
                this.label_IntPrice_ChangePer = ((System.Windows.Controls.Label)(target));
                return;

            case 63:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 64:
                this.label18 = ((System.Windows.Controls.Label)(target));
                return;

            case 65:
                this.button_Compute = ((System.Windows.Controls.Button)(target));

            #line 237 "..\..\..\MainWindow.xaml"
                this.button_Compute.Click += new System.Windows.RoutedEventHandler(this.button_Compute_Click);

            #line default
            #line hidden
                return;

            case 66:
                this.button_Compare = ((System.Windows.Controls.Button)(target));

            #line 238 "..\..\..\MainWindow.xaml"
                this.button_Compare.Click += new System.Windows.RoutedEventHandler(this.button_Compare_Click);

            #line default
            #line hidden
                return;

            case 67:
                this.chart3 = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
                return;

            case 68:
                this.LineSeries13 = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 69:
                this.LineSeries14 = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }