void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((MagicTactilForWindows.View.Home)(target));
                return;

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

            case 3:
                this.createEventButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

            case 4:
                this.eventListBox = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));

            #line 23 "..\..\..\View\Home.xaml"
                this.eventListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.eventListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.refreshButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

            case 6:
                this.eventInfo = ((MagicTactilForWindows.UCEventInfo)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((MagicTactilForWindows.View.Home)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.createEventButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 4:
     this.eventListBox = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     
     #line 20 "..\..\..\View\Home.xaml"
     this.eventListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.eventListBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.refreshButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 6:
     this.eventInfo = ((MagicTactilForWindows.UCEventInfo)(target));
     return;
     }
     this._contentLoaded = true;
 }