예제 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.surfaceListBox1 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     return;
     case 2:
     this.surfaceListBoxItem1 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 3:
     this.surfaceListBoxItem2 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 4:
     this.surfaceListBoxItem3 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 5:
     this.surfaceListBoxItem4 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 6:
     this.surfaceListBoxItem5 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 7:
     this.surfaceListBoxItem6 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 8:
     this.surfaceListBoxItem7 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 9:
     this.surfaceTextBox1 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 10:
     this.surfaceTextBox2 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 11:
     this.surfaceTextBox3 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 12:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.surfaceTextBox4 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 15:
     this.textBlock4 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.surfaceButton1 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 22 "..\..\CreateHapticCircleWindow.xaml"
     this.surfaceButton1.Click += new System.Windows.RoutedEventHandler(this.surfaceButton1_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Prototype_05.ModelRemovingPanel)(target));
                return;

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

            #line 14 "..\..\..\..\Panels\ModelRemovingPanel.xaml"
                this.MainGrid.PreviewTouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.OptionTouchDown);

            #line default
            #line hidden

            #line 14 "..\..\..\..\Panels\ModelRemovingPanel.xaml"
                this.MainGrid.PreviewTouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.OptionTouchMove);

            #line default
            #line hidden

            #line 14 "..\..\..\..\Panels\ModelRemovingPanel.xaml"
                this.MainGrid.PreviewTouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.OptionTouchUp);

            #line default
            #line hidden
                return;

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

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

            case 5:
                this.ModelsGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.CategoryGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            case 10:
                this.Category3Rect = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 11:
                this.Category4Rect = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 12:
                this.Category0Image = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.Category1Image = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.Category2Image = ((System.Windows.Controls.Image)(target));
                return;

            case 15:
                this.Category3Image = ((System.Windows.Controls.Image)(target));
                return;

            case 16:
                this.Category4Image = ((System.Windows.Controls.Image)(target));
                return;

            case 17:
                this.Category0Text = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.Category1Text = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 21:
                this.Category4Text = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.Category0AmountTextB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.Category1AmountTextB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.Category2AmountTextB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.Category3AmountTextB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.Category4AmountTextB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.BackgroundRectangleHeader = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 29:
                this.NameLabel = ((System.Windows.Controls.Label)(target));
                return;

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

            case 31:
                this.Cat1ListBox = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
                return;

            case 32:
                this.removeitem = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
                return;

            case 33:
                this.Stackmodel = ((System.Windows.Controls.Canvas)(target));
                return;

            case 34:
                this.removeitem2 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
                return;

            case 35:
                this.removeitem3 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
                return;

            case 36:
                this.removeitem4 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
                return;

            case 37:
                this.removeitem5 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
                return;

            case 38:
                this.removeitem6 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
                return;

            case 39:
                this.Border = ((System.Windows.Shapes.Path)(target));
                return;

            case 40:
                this.BorderPoint0 = ((System.Windows.Media.PathFigure)(target));
                return;

            case 41:
                this.BorderPoint1 = ((System.Windows.Media.LineSegment)(target));
                return;

            case 42:
                this.BorderPoint2 = ((System.Windows.Media.LineSegment)(target));
                return;

            case 43:
                this.BorderPoint3 = ((System.Windows.Media.LineSegment)(target));
                return;

            case 44:
                this.ApproveGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 45:
                this.OkText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 46:
                this.CancelText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.OkRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 48:
                this.OkButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

            case 49:
                this.PausePlayImage = ((System.Windows.Controls.Image)(target));
                return;

            case 50:
                this.CancelRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 51:
                this.CancelButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;
            }
            this._contentLoaded = true;
        }