Esempio n. 1
0
        private static void OnShowLinePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AxisCursorGraph graph = (AxisCursorGraph)d;

            graph.UpdateUIRepresentation();
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Trend.xaml"
                ((CoreTest.Trend)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.toolBar1 = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 3:
                this.dtstart = ((Microsoft.Windows.Controls.DateTimePicker)(target));
                return;

            case 4:
                this.dtend = ((Microsoft.Windows.Controls.DateTimePicker)(target));
                return;

            case 5:
                this.PCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:
                this.popusBottom = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 7:
                this.chklist = ((Microsoft.Windows.Controls.CheckListBox)(target));
                return;

            case 8:
                this.comodel = ((System.Windows.Controls.ComboBox)(target));

            #line 40 "..\..\..\Trend.xaml"
                this.comodel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comodel_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\Trend.xaml"
                this.chkshow.Click += new System.Windows.RoutedEventHandler(this.chkshow_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.colorpicker = ((Microsoft.Windows.Controls.ColorPicker)(target));

            #line 46 "..\..\..\Trend.xaml"
                this.colorpicker.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Windows.Media.Color>(this.ColorPicker_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.chartPlotter1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 12:
                this.hTimeSpanAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 13:
                this.cursor = ((Microsoft.Research.DynamicDataDisplay.Charts.Navigation.CursorCoordinateGraph)(target));
                return;

            case 14:
                this.axiscuror = ((Microsoft.Research.DynamicDataDisplay.Charts.Navigation.AxisCursorGraph)(target));
                return;
            }
            this._contentLoaded = true;
        }