void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.root = ((Table1.MinMaxGraphControl)(target));
                return;

            case 2:
                this.MainLine = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 3:
                this.LowerSlider = ((System.Windows.Controls.Slider)(target));

            #line 18 "..\..\MinMaxGraphControl.xaml"
                this.LowerSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.LowerSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.UpperSlider = ((System.Windows.Controls.Slider)(target));

            #line 23 "..\..\MinMaxGraphControl.xaml"
                this.UpperSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.UpperSlider_ValueChanged);

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

            #line 11 "..\..\MainWindow.xaml"
                ((Table1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden

            #line 11 "..\..\MainWindow.xaml"
                ((Table1.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.SliderGraph = ((Table1.MinMaxGraphControl)(target));
                return;

            case 3:
                this.LegendGraph = ((System.Windows.Controls.CheckBox)(target));

            #line 35 "..\..\MainWindow.xaml"
                this.LegendGraph.Click += new System.Windows.RoutedEventHandler(this.LegendGraph_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.timeStart = ((Table1.NumericControl)(target));
                return;

            case 5:
                this.timeStop = ((Table1.NumericControl)(target));
                return;

            case 6:
                this.amplit = ((Table1.NumericControl)(target));
                return;

            case 7:
                this.color_box = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.plus = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.plus.Click += new System.Windows.RoutedEventHandler(this.PlusClick);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\MainWindow.xaml"
                this.minus.Click += new System.Windows.RoutedEventHandler(this.MinusClick);

            #line default
            #line hidden
                return;

            case 10:
                this.table = ((System.Windows.Controls.DataGrid)(target));

            #line 89 "..\..\MainWindow.xaml"
                this.table.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.Table_LoadingRow);

            #line default
            #line hidden
                return;

            case 11:
                this.TIME_start = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 12:
                this.TIME_stop = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 13:
                this.amplitude = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 14:
                this.color = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 15:
                this.graphCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 16:
                this.plotter = ((InteractiveDataDisplay.WPF.Chart)(target));
                return;

            case 17:
                this.linesPlot = ((System.Windows.Controls.Grid)(target));

            #line 123 "..\..\MainWindow.xaml"
                this.linesPlot.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.LineMouseDown);

            #line default
            #line hidden
                return;

            case 18:
                this.rightLine = ((System.Windows.Shapes.Path)(target));

            #line 125 "..\..\MainWindow.xaml"
                this.rightLine.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.rightLine_MouseDown);

            #line default
            #line hidden
                return;

            case 19:
                this.leftLine = ((System.Windows.Shapes.Path)(target));

            #line 130 "..\..\MainWindow.xaml"
                this.leftLine.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.leftLine_MouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }