The Step line series.
Inheritance: Series, IFondeable
Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.theGauge = ((LiveCharts.Wpf.AngularGauge)(target));
                return;

            case 3:
                this.theCC = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 4:
                this.lsPulse = ((LiveCharts.Wpf.StepLineSeries)(target));
                return;

            case 5:
                this.lsEfficiency = ((LiveCharts.Wpf.LineSeries)(target));
                return;

            case 6:
                this.lsRed = ((LiveCharts.Wpf.LineSeries)(target));
                return;

            case 7:
                this.lsGreen = ((LiveCharts.Wpf.LineSeries)(target));
                return;

            case 8:
                this.lsBlue = ((LiveCharts.Wpf.LineSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tb1 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 3:
                this.tb3 = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 5:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 46 "..\..\MainWindow.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.tb5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.tb6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.cbx1 = ((System.Windows.Controls.CheckBox)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.cbx1.Checked += new System.Windows.RoutedEventHandler(this.CheckBox1_Checked);

            #line default
            #line hidden

            #line 50 "..\..\MainWindow.xaml"
                this.cbx1.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox1_Unchecked);

            #line default
            #line hidden
                return;

            case 9:
                this.cbx2 = ((System.Windows.Controls.CheckBox)(target));

            #line 51 "..\..\MainWindow.xaml"
                this.cbx2.Checked += new System.Windows.RoutedEventHandler(this.CheckBox2_Checked);

            #line default
            #line hidden

            #line 51 "..\..\MainWindow.xaml"
                this.cbx2.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox2_Unchecked);

            #line default
            #line hidden
                return;

            case 10:
                this.Chart1 = ((LiveCharts.Wpf.CartesianChart)(target));

            #line 52 "..\..\MainWindow.xaml"
                this.Chart1.Loaded += new System.Windows.RoutedEventHandler(this.CartesianChart_Loaded);

            #line default
            #line hidden
                return;

            case 11:
                this.Series1 = ((LiveCharts.Wpf.LineSeries)(target));
                return;

            case 12:
                this.Series2 = ((LiveCharts.Wpf.StepLineSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }