void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\SurfaceWindow1.xaml"
                ((Prototype_05.SurfaceWindow1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowIsLoaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.ModOvArea = ((Prototype_05.ModelOverviewArea)(target));
                return;

            case 4:
                this.ModelOverview = ((Prototype_05.ModelOverviewControl)(target));
                return;

            case 5:
                this.SystemStateOverviewArea = ((Prototype_05.SystemOverviewArea)(target));
                return;

            case 6:
                this.SystemStateOverview = ((Prototype_05.SystemStateOverviewControl)(target));
                return;

            case 7:
                this.RunningInstancesArea = ((Prototype_05.RunningInstancesArea)(target));
                return;

            case 8:
                this.RunningInstancesControl = ((Prototype_05.RunningInstancesControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Prototype_05.ModelOverviewArea)(target));

            #line 12 "..\..\ModelOverviewArea.xaml"
                this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.AreaLoaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.HidePointTL = ((System.Windows.Media.PathFigure)(target));
                return;

            case 4:
                this.HidePointTR = ((System.Windows.Media.LineSegment)(target));
                return;

            case 5:
                this.HidePointBR = ((System.Windows.Media.LineSegment)(target));
                return;

            case 6:
                this.HidePointBL = ((System.Windows.Media.LineSegment)(target));
                return;

            case 7:
                this.ShowOrHideImage = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.ShowOrHideText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.ShowHideButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 75 "..\..\ModelOverviewArea.xaml"
                this.ShowHideButton.PreviewTouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.ShowHideTouchDown);

            #line default
            #line hidden

            #line 75 "..\..\ModelOverviewArea.xaml"
                this.ShowHideButton.PreviewTouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.ShowHideTouchUp);

            #line default
            #line hidden
                return;

            case 10:
                this.BorderPointBL = ((System.Windows.Media.LineSegment)(target));
                return;

            case 11:
                this.BorderPointBR = ((System.Windows.Media.LineSegment)(target));
                return;
            }
            this._contentLoaded = true;
        }