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

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

            case 3:
                this.HandListBox = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));

            #line 47 "..\..\..\..\View\Game\UCHand.xaml"
                this.HandListBox.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.HandListBox_PreviewMouseMove);

            #line default
            #line hidden

            #line 47 "..\..\..\..\View\Game\UCHand.xaml"
                this.HandListBox.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.HandListBox_PreviewMouseLeftButtonDown);

            #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 = ((MagicTactilForWindows.UCHand)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.HandListBox = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     
     #line 47 "..\..\..\..\View\Game\UCHand.xaml"
     this.HandListBox.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.HandListBox_PreviewMouseMove);
     
     #line default
     #line hidden
     
     #line 47 "..\..\..\..\View\Game\UCHand.xaml"
     this.HandListBox.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.HandListBox_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }