void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Prototype_05.SystemOverviewArea)(target));

            #line 12 "..\..\..\SystemOverviewArea.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.ShowOrHideImage = ((System.Windows.Controls.Image)(target));
                return;

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

            case 5:
                this.BackgroundBorderPath = ((System.Windows.Shapes.Path)(target));
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        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.SystemOverviewArea)(target));

            #line 12 "..\..\..\SystemOverviewArea.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.ShowOrHideImage = ((System.Windows.Controls.Image)(target));
                return;

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

            case 5:

            #line 74 "..\..\..\SystemOverviewArea.xaml"
                ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowHideButtonClicked);

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