Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ViewModel = ((System.Windows.Data.Binding)(target));
                return;

            case 2:
                this.groupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.Ch1Live = ((NationalInstruments.Controls.Graph)(target));
                return;

            case 4:
                this.xScale = ((NationalInstruments.Controls.AxisDouble)(target));
                return;

            case 5:
                this.yScale = ((NationalInstruments.Controls.AxisDouble)(target));
                return;

            case 6:
                this.Ch1Seal = ((NationalInstruments.Controls.Graph)(target));
                return;

            case 7:
                this.xScale1 = ((NationalInstruments.Controls.AxisDouble)(target));
                return;

            case 8:
                this.yScale1 = ((NationalInstruments.Controls.AxisDouble)(target));
                return;

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

            case 10:
                this.toggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 11:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\WindowChart.xaml"
                ((SymtChartLib.WindowChart)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.gridChart = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.lstTraceInfo = ((System.Windows.Controls.ListBox)(target));
                return;

            case 4:
                this.gridTestChart = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.lstYxis = ((System.Windows.Controls.ListBox)(target));

            #line 110 "..\..\WindowChart.xaml"
                this.lstYxis.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.lstYxis_MouseDoubleClick);

            #line default
            #line hidden

            #line 110 "..\..\WindowChart.xaml"
                this.lstYxis.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstYxis_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 7:
                this.graph = ((NationalInstruments.Controls.Graph)(target));

            #line 132 "..\..\WindowChart.xaml"
                this.graph.PlotAreaMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.graph_PlotAreaMouseLeftButtonDown);

            #line default
            #line hidden

            #line 133 "..\..\WindowChart.xaml"
                this.graph.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.graph_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 8:
                this.listMarker = ((System.Windows.Controls.ListBox)(target));

            #line 158 "..\..\WindowChart.xaml"
                this.listMarker.MouseMove += new System.Windows.Input.MouseEventHandler(this.listMarker_MouseMove);

            #line default
            #line hidden

            #line 158 "..\..\WindowChart.xaml"
                this.listMarker.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.listMarker_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 158 "..\..\WindowChart.xaml"
                this.listMarker.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.listMarker_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 9:
                this.lstAxis = ((System.Windows.Controls.ListBox)(target));
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:
                this.isCouple = ((System.Windows.Controls.MenuItem)(target));

            #line 209 "..\..\WindowChart.xaml"
                this.isCouple.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 16:

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

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