Пример #1
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;
 }
Пример #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;
        }