Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TimeControl = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.preSelectIndex = ((System.Windows.Controls.ComboBox)(target));

            #line 20 "..\..\..\..\Window\OnLineStatic.xaml"
                this.preSelectIndex.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OnSelectionChanged);

            #line default
            #line hidden
                return;

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

            case 4:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 5:
                this.yAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.VerticalAxis)(target));
                return;

            case 6:
                this.xAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.DateTimeAxis)(target));
                return;

            case 7:
                this.wnd_lower = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\Window\HistoryStatic.xaml"
                ((Monitor.HistoryStatic)(target)).Loaded += new System.Windows.RoutedEventHandler(this.OnLoaded);

            #line default
            #line hidden

            #line 11 "..\..\..\Window\HistoryStatic.xaml"
                ((Monitor.HistoryStatic)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.OnGotFocus);

            #line default
            #line hidden

            #line 11 "..\..\..\Window\HistoryStatic.xaml"
                ((Monitor.HistoryStatic)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.OnSizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.preSelectIndex = ((System.Windows.Controls.ComboBox)(target));

            #line 19 "..\..\..\Window\HistoryStatic.xaml"
                this.preSelectIndex.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OnSelectionChanged);

            #line default
            #line hidden
                return;

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

            case 4:
                this.startTime = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 5:
                this.endTime = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 6:

            #line 26 "..\..\..\Window\HistoryStatic.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSerch);

            #line default
            #line hidden
                return;

            case 7:

            #line 27 "..\..\..\Window\HistoryStatic.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSave);

            #line default
            #line hidden
                return;

            case 8:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 9:
                this.yAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.VerticalAxis)(target));
                return;

            case 10:
                this.xAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.DateTimeAxis)(target));
                return;

            case 11:
                this.LowerWnd = ((System.Windows.Controls.Border)(target));
                return;

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

            case 13:
                this.chart = ((Visifire.Charts.Chart)(target));
                return;
            }
            this._contentLoaded = true;
        }