Пример #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;
 }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.popup = ((Nine.Tools.BetterPopup)(target));
                return;

            case 3:
                this.nameTB = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 6:
                this.LessonSidebar = ((Nine.Views.Controls.QuestionSideBar)(target));
                return;

            case 7:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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