Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.modelControl = ((VisLab.Controls.ModelControl)(target));

            #line 10 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.modelControl.SizeChanged += new System.Windows.SizeChangedEventHandler(this.UserControl_SizeChanged);

            #line default
            #line hidden
                return;

            case 4:

            #line 39 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseDown);

            #line default
            #line hidden

            #line 39 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseUp);

            #line default
            #line hidden

            #line 39 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.UserControl_MouseMove);

            #line default
            #line hidden

            #line 39 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.UserControl_MouseWheel);

            #line default
            #line hidden
                return;

            case 5:
                this.ellipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

            case 7:
                this.ttModel = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 8:
                this.stModel = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 9:
                this.panel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 55 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.btnFixedPoints.Checked += new System.Windows.RoutedEventHandler(this.btnFixedPoints_Checked);

            #line default
            #line hidden

            #line 55 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.btnFixedPoints.Unchecked += new System.Windows.RoutedEventHandler(this.btnFixedPoints_Unchecked);

            #line default
            #line hidden
                return;

            case 11:
                this.tbkXCoordinate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.tbkYCoordinate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.spModelDescription = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:
                this.countersGrid = ((System.Windows.Controls.Grid)(target));

            #line 73 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.countersGrid.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.flyingGrid_MouseDown);

            #line default
            #line hidden
                return;

            case 15:
                this.ttDataGrid = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 16:
                this.checkGrouping = ((System.Windows.Controls.CheckBox)(target));

            #line 81 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.checkGrouping.Checked += new System.Windows.RoutedEventHandler(this.checkGrouping_Checked);

            #line default
            #line hidden

            #line 81 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.checkGrouping.Unchecked += new System.Windows.RoutedEventHandler(this.checkGrouping_Unchecked);

            #line default
            #line hidden
                return;

            case 17:
                this.checkMini = ((System.Windows.Controls.CheckBox)(target));

            #line 82 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.checkMini.Checked += new System.Windows.RoutedEventHandler(this.checkMini_Checked);

            #line default
            #line hidden

            #line 82 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.checkMini.Unchecked += new System.Windows.RoutedEventHandler(this.checkMini_Unchecked);

            #line default
            #line hidden
                return;

            case 18:
                this.dgCounters = ((System.Windows.Controls.DataGrid)(target));

            #line 84 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.dgCounters.MouseMove += new System.Windows.Input.MouseEventHandler(this.datagrid_MouseMove);

            #line default
            #line hidden

            #line 85 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.dgCounters.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.datagrid_SelectionChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.stBorder = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 20:
                this.trTimesGrid = ((System.Windows.Controls.Grid)(target));

            #line 108 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.trTimesGrid.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.trTimesGrid_MouseDown);

            #line default
            #line hidden
                return;

            case 21:
                this.ttTrTimesGrid = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 22:
                this.dgTrTimes = ((System.Windows.Controls.DataGrid)(target));

            #line 113 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.dgTrTimes.MouseMove += new System.Windows.Input.MouseEventHandler(this.dgTrTimes_MouseMove);

            #line default
            #line hidden

            #line 114 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.dgTrTimes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgTrTimes_SelectionChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.stTrTimesGrid = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 24:
                this.slider = ((System.Windows.Controls.Slider)(target));

            #line 129 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider_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:
     this.modelControl = ((VisLab.Controls.ModelControl)(target));
     
     #line 10 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.modelControl.SizeChanged += new System.Windows.SizeChangedEventHandler(this.UserControl_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 39 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseDown);
     
     #line default
     #line hidden
     
     #line 39 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseUp);
     
     #line default
     #line hidden
     
     #line 39 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.UserControl_MouseMove);
     
     #line default
     #line hidden
     
     #line 39 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.UserControl_MouseWheel);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ellipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 6:
     this.cnvModel = ((System.Windows.Controls.Canvas)(target));
     return;
     case 7:
     this.ttModel = ((System.Windows.Media.TranslateTransform)(target));
     return;
     case 8:
     this.stModel = ((System.Windows.Media.ScaleTransform)(target));
     return;
     case 9:
     this.panel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 10:
     this.btnFixedPoints = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 55 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.btnFixedPoints.Checked += new System.Windows.RoutedEventHandler(this.btnFixedPoints_Checked);
     
     #line default
     #line hidden
     
     #line 55 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.btnFixedPoints.Unchecked += new System.Windows.RoutedEventHandler(this.btnFixedPoints_Unchecked);
     
     #line default
     #line hidden
     return;
     case 11:
     this.tbkXCoordinate = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.tbkYCoordinate = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.spModelDescription = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 14:
     this.countersGrid = ((System.Windows.Controls.Grid)(target));
     
     #line 73 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.countersGrid.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.flyingGrid_MouseDown);
     
     #line default
     #line hidden
     return;
     case 15:
     this.ttDataGrid = ((System.Windows.Media.TranslateTransform)(target));
     return;
     case 16:
     this.checkGrouping = ((System.Windows.Controls.CheckBox)(target));
     
     #line 81 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.checkGrouping.Checked += new System.Windows.RoutedEventHandler(this.checkGrouping_Checked);
     
     #line default
     #line hidden
     
     #line 81 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.checkGrouping.Unchecked += new System.Windows.RoutedEventHandler(this.checkGrouping_Unchecked);
     
     #line default
     #line hidden
     return;
     case 17:
     this.checkMini = ((System.Windows.Controls.CheckBox)(target));
     
     #line 82 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.checkMini.Checked += new System.Windows.RoutedEventHandler(this.checkMini_Checked);
     
     #line default
     #line hidden
     
     #line 82 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.checkMini.Unchecked += new System.Windows.RoutedEventHandler(this.checkMini_Unchecked);
     
     #line default
     #line hidden
     return;
     case 18:
     this.dgCounters = ((System.Windows.Controls.DataGrid)(target));
     
     #line 84 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.dgCounters.MouseMove += new System.Windows.Input.MouseEventHandler(this.datagrid_MouseMove);
     
     #line default
     #line hidden
     
     #line 85 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.dgCounters.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.datagrid_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 19:
     this.stBorder = ((System.Windows.Media.ScaleTransform)(target));
     return;
     case 20:
     this.trTimesGrid = ((System.Windows.Controls.Grid)(target));
     
     #line 108 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.trTimesGrid.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.trTimesGrid_MouseDown);
     
     #line default
     #line hidden
     return;
     case 21:
     this.ttTrTimesGrid = ((System.Windows.Media.TranslateTransform)(target));
     return;
     case 22:
     this.dgTrTimes = ((System.Windows.Controls.DataGrid)(target));
     
     #line 113 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.dgTrTimes.MouseMove += new System.Windows.Input.MouseEventHandler(this.dgTrTimes_MouseMove);
     
     #line default
     #line hidden
     
     #line 114 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.dgTrTimes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgTrTimes_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 23:
     this.stTrTimesGrid = ((System.Windows.Media.ScaleTransform)(target));
     return;
     case 24:
     this.slider = ((System.Windows.Controls.Slider)(target));
     
     #line 129 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
     this.slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider_ValueChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }