示例#1
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;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Prototype_05.RunningInstancesControl)(target));

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.GroupLabelText = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 28 "..\..\..\RunningInstancesControl.xaml"
                this.GroupGrid.PreviewTouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.GroupTouchDown);

            #line default
            #line hidden

            #line 28 "..\..\..\RunningInstancesControl.xaml"
                this.GroupGrid.PreviewTouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.GroupTouchMove);

            #line default
            #line hidden

            #line 28 "..\..\..\RunningInstancesControl.xaml"
                this.GroupGrid.PreviewTouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.GroupTouchUp);

            #line default
            #line hidden
                return;

            case 5:
                this.AllRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 6:
                this.CategoryRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 7:
                this.StateRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 8:
                this.ProcessTypeRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 9:
                this.StartTimeRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 10:
                this.AllText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.CategoryText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.StateText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.ProcessTypeText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.StartTimeText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.InstancesSV = ((Microsoft.Surface.Presentation.Controls.SurfaceScrollViewer)(target));
                return;

            case 16:
                this.SectionStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 17:
                this.Section1Grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.Section1Rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 19:
                this.Section1Text = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.Section1AmountText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.ToggleButton1 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 92 "..\..\..\RunningInstancesControl.xaml"
                this.ToggleButton1.Click += new System.Windows.RoutedEventHandler(this.ToggleMiniDetailClick);

            #line default
            #line hidden
                return;

            case 22:
                this.ToggleGrid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.Section1MiniText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.Section1DetailText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.Cat1SV = ((Microsoft.Surface.Presentation.Controls.SurfaceScrollViewer)(target));
                return;

            case 26:
                this.GroupStackPanel1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 27:
                this.Section2Grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 28:
                this.Section2Rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 29:
                this.Section2Text = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.Section2AmountText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.ToggleButton2 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 133 "..\..\..\RunningInstancesControl.xaml"
                this.ToggleButton2.Click += new System.Windows.RoutedEventHandler(this.ToggleMiniDetailClick);

            #line default
            #line hidden
                return;

            case 32:
                this.ToggleGrid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:
                this.Section2MiniText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.Section2DetailText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.Cat2SV = ((Microsoft.Surface.Presentation.Controls.SurfaceScrollViewer)(target));
                return;

            case 36:
                this.GroupStackPanel2 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 37:
                this.Section3Grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.Section3Rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 39:
                this.Section3Text = ((System.Windows.Controls.TextBox)(target));
                return;

            case 40:
                this.Section3AmountText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.ToggleButton3 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 173 "..\..\..\RunningInstancesControl.xaml"
                this.ToggleButton3.Click += new System.Windows.RoutedEventHandler(this.ToggleMiniDetailClick);

            #line default
            #line hidden
                return;

            case 42:
                this.ToggleGrid3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 43:
                this.Section3MiniText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.Section3DetailText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 45:
                this.Cat3SV = ((Microsoft.Surface.Presentation.Controls.SurfaceScrollViewer)(target));
                return;

            case 46:
                this.GroupStackPanel3 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 47:
                this.Section4Grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 48:
                this.Section4Rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 49:
                this.Section4Text = ((System.Windows.Controls.TextBox)(target));
                return;

            case 50:
                this.Section4AmountText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 51:
                this.ToggleButton4 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 213 "..\..\..\RunningInstancesControl.xaml"
                this.ToggleButton4.Click += new System.Windows.RoutedEventHandler(this.ToggleMiniDetailClick);

            #line default
            #line hidden
                return;

            case 52:
                this.ToggleGrid4 = ((System.Windows.Controls.Grid)(target));
                return;

            case 53:
                this.Section4MiniText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 54:
                this.Section4DetailText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 55:
                this.Cat4SV = ((Microsoft.Surface.Presentation.Controls.SurfaceScrollViewer)(target));
                return;

            case 56:
                this.GroupStackPanel4 = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }