예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((SurfacePoker.AddPlayerControl)(target));
                return;

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

            case 3:
                this.spielername = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
                return;

            case 4:
                this.tagid1 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
                return;

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

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

            #line 128 "..\..\AddPlayerControl.xaml"
                this.speichern.TouchEnter += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.savePlayer);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((SurfacePoker.AddPlayerControl)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.spielername = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 4:
     this.tagid1 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 5:
     this.tagid2 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 6:
     this.speichern = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 128 "..\..\AddPlayerControl.xaml"
     this.speichern.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.savePlayer);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }