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

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

            #line 11 "..\..\..\MotionVisualizer.xaml"
                ((MotionVisualizerControl.MotionVisualizer)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.ButtonBar = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.Start_Button = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\..\MotionVisualizer.xaml"
                this.Start_Button.Click += new System.Windows.RoutedEventHandler(this.Start_Button_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.TimeIncrementSlider = ((System.Windows.Controls.TextBox)(target));

            #line 22 "..\..\..\MotionVisualizer.xaml"
                this.TimeIncrementSlider.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TimeIncrementSlider_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.TimeScaleSlider = ((System.Windows.Controls.TextBox)(target));

            #line 25 "..\..\..\MotionVisualizer.xaml"
                this.TimeScaleSlider.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TimeScaleSlider_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.TimeValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.AutoCameraCheck = ((System.Windows.Controls.CheckBox)(target));

            #line 31 "..\..\..\MotionVisualizer.xaml"
                this.AutoCameraCheck.Unchecked += new System.Windows.RoutedEventHandler(this.AutoCameraCheck_Checked);

            #line default
            #line hidden

            #line 31 "..\..\..\MotionVisualizer.xaml"
                this.AutoCameraCheck.Checked += new System.Windows.RoutedEventHandler(this.AutoCameraCheck_Checked);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\..\MotionVisualizer.xaml"
                this.DisplayCheck.Checked += new System.Windows.RoutedEventHandler(this.DisplayCheck_Checked);

            #line default
            #line hidden

            #line 34 "..\..\..\MotionVisualizer.xaml"
                this.DisplayCheck.Unchecked += new System.Windows.RoutedEventHandler(this.DisplayCheck_Checked);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\MotionVisualizer.xaml"
                this.SlowDrawCheck.Checked += new System.Windows.RoutedEventHandler(this.SlowDrawCheck_Checked);

            #line default
            #line hidden
                return;

            case 10:

            #line 38 "..\..\..\MotionVisualizer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Button_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 39 "..\..\..\MotionVisualizer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Screenshot_Button_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.VisualizerSpot = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 13:
                this.ViewportGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:
                this.Viewport = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 15:
                this.Graphs = ((GraphControl.CompositeGraph)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
 public GraphManager(IGraphDataInterface dataManager, CompositeGraph graphs)
 {
     this.dataManager = dataManager;
     this.graphs      = graphs;
 }