Exemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\..\..\Views\Pages\MainPage.xaml"
     ((Nine.Views.Pages.MainPage)(target)).PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Page_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 9 "..\..\..\..\Views\Pages\MainPage.xaml"
     ((Nine.Views.Pages.MainPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.AppBar = ((Nine.Views.Controls.AppBar)(target));
     return;
     case 3:
     this.BottomSideBar = ((Nine.Views.Controls.BottomSideBar)(target));
     return;
     case 4:
     this.LessonSidebar = ((Nine.Views.Controls.SideBar)(target));
     return;
     case 5:
     
     #line 131 "..\..\..\..\Views\Pages\MainPage.xaml"
     ((System.Windows.Controls.Grid)(target)).TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.LessonContainer_TouchUp);
     
     #line default
     #line hidden
     
     #line 132 "..\..\..\..\Views\Pages\MainPage.xaml"
     ((System.Windows.Controls.Grid)(target)).ManipulationDelta += new System.EventHandler<System.Windows.Input.ManipulationDeltaEventArgs>(this.LessonContainer_ManipulationDelta);
     
     #line default
     #line hidden
     return;
     case 6:
     this.RadialMenu = ((Nine.Views.Controls.RadialMenus)(target));
     return;
     case 7:
     this.RadialMenuOpenButton = ((Nine.Views.Controls.RadialMenuStateButton)(target));
     return;
     case 8:
     this.LessonContainer = ((Nine.Views.Controls.TouchScrollViewer)(target));
     return;
     case 9:
     this.LessonContent = ((System.Windows.Controls.Grid)(target));
     
     #line 168 "..\..\..\..\Views\Pages\MainPage.xaml"
     this.LessonContent.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.LessonContent_MouseRightButtonUp);
     
     #line default
     #line hidden
     
     #line 169 "..\..\..\..\Views\Pages\MainPage.xaml"
     this.LessonContent.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.LessonContainer_TouchDown);
     
     #line default
     #line hidden
     
     #line 170 "..\..\..\..\Views\Pages\MainPage.xaml"
     this.LessonContent.TouchMove += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.LessonContainer_TouchMove);
     
     #line default
     #line hidden
     
     #line 171 "..\..\..\..\Views\Pages\MainPage.xaml"
     this.LessonContent.StylusDown += new System.Windows.Input.StylusDownEventHandler(this.LessonContainer_StylusDown);
     
     #line default
     #line hidden
     
     #line 172 "..\..\..\..\Views\Pages\MainPage.xaml"
     this.LessonContent.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LessonContent_PreviewMouseDown);
     
     #line default
     #line hidden
     
     #line 173 "..\..\..\..\Views\Pages\MainPage.xaml"
     this.LessonContent.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.LessonContent_PreviewTouchDown);
     
     #line default
     #line hidden
     return;
     case 10:
     this.DrawingAreaBound = ((Nine.Views.Controls.DrawingAreaBackground)(target));
     return;
     case 11:
     this.LessonPage = ((Nine.Views.Controls.Lesson)(target));
     return;
     case 12:
     this.LayerStack = ((Nine.Views.Controls.LayerStack)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\..\Views\Pages\FreeNotesPage.xaml"
                ((Nine.Views.Pages.FreeNotesPage)(target)).PreviewTouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.Page_PreviewTouchDown);

            #line default
            #line hidden

            #line 9 "..\..\..\..\Views\Pages\FreeNotesPage.xaml"
                ((Nine.Views.Pages.FreeNotesPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.AppBar = ((Nine.Views.Controls.AppBar)(target));
                return;

            case 3:
                this.BottomSideBar = ((Nine.Views.Controls.BottomSideBar)(target));
                return;

            case 4:
                this.LessonSidebar = ((Nine.Views.Controls.SideBar)(target));
                return;

            case 5:

            #line 123 "..\..\..\..\Views\Pages\FreeNotesPage.xaml"
                ((System.Windows.Controls.Grid)(target)).TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.LessonContainer_TouchUp);

            #line default
            #line hidden

            #line 124 "..\..\..\..\Views\Pages\FreeNotesPage.xaml"
                ((System.Windows.Controls.Grid)(target)).ManipulationDelta += new System.EventHandler <System.Windows.Input.ManipulationDeltaEventArgs>(this.LessonContainer_ManipulationDelta);

            #line default
            #line hidden
                return;

            case 6:
                this.RadialMenu = ((Nine.Views.Controls.RadialMenus)(target));
                return;

            case 7:
                this.RadialMenuOpenButton = ((Nine.Views.Controls.RadialMenuStateButton)(target));
                return;

            case 8:
                this.LessonContainer = ((Nine.Views.Controls.TouchScrollViewer)(target));
                return;

            case 9:
                this.LessonContent = ((System.Windows.Controls.Grid)(target));

            #line 158 "..\..\..\..\Views\Pages\FreeNotesPage.xaml"
                this.LessonContent.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.LessonContent_MouseRightButtonUp);

            #line default
            #line hidden

            #line 159 "..\..\..\..\Views\Pages\FreeNotesPage.xaml"
                this.LessonContent.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.LessonContainer_TouchDown);

            #line default
            #line hidden

            #line 160 "..\..\..\..\Views\Pages\FreeNotesPage.xaml"
                this.LessonContent.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.LessonContainer_TouchMove);

            #line default
            #line hidden

            #line 161 "..\..\..\..\Views\Pages\FreeNotesPage.xaml"
                this.LessonContent.StylusDown += new System.Windows.Input.StylusDownEventHandler(this.LessonContainer_StylusDown);

            #line default
            #line hidden
                return;

            case 10:
                this.DrawingAreaBound = ((Nine.Views.Controls.DrawingAreaBackground)(target));
                return;

            case 11:
                this.LayerStack = ((Nine.Views.Controls.LayerStack)(target));
                return;
            }
            this._contentLoaded = true;
        }