void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.surfaceTextBox1 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
                return;

            case 6:
                this.format = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
                return;

            case 7:
                this._ModeSelector = ((MagicTactilForWindows.Utilities.ModeSelector)(target));
                return;

            case 8:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 10:
                this.CancelButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

            case 11:
                this.errLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 2:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.surfaceTextBox1 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 6:
     this.format = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 7:
     this._ModeSelector = ((MagicTactilForWindows.Utilities.ModeSelector)(target));
     return;
     case 8:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.createButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 10:
     this.CancelButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 11:
     this.errLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }