Ejemplo n.º 1
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  InformationalApp.CoursePage
                userType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_CoursePage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  InformationalApp.DashBoardPage
                userType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_3_DashBoardPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  InformationalApp.forgetPasswordPage
                userType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_4_forgetPasswordPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  InformationalApp.HowTheyWorkPage
                userType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_5_HowTheyWorkPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  InformationalApp.InstitutionPage
                userType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_6_InstitutionPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  InformationalApp.LoginPage
                userType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_7_LoginPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  InformationalApp.MainPage
                userType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  InformationalApp.PossibleCareerPage
                userType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_PossibleCareerPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  InformationalApp.SubjectOfferedPage
                userType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_10_SubjectOfferedPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 11:   //  InformationalApp.SubjectsDonePage
                userType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_11_SubjectsDonePage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  InformationalApp.UpdateInformationPage
                userType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_UpdateInformationPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  InformationalApp.UpdatePage
                userType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_13_UpdatePage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return xamlType;
        }
Ejemplo n.º 2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {
            case 0:   //  InformationalApp.CoursePage
                userType           = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_CoursePage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  InformationalApp.DashBoardPage
                userType           = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_3_DashBoardPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  InformationalApp.forgetPasswordPage
                userType           = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_4_forgetPasswordPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  InformationalApp.HowTheyWorkPage
                userType           = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_5_HowTheyWorkPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  InformationalApp.InstitutionPage
                userType           = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_6_InstitutionPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  InformationalApp.LoginPage
                userType           = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_7_LoginPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  InformationalApp.MainPage
                userType           = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  InformationalApp.PossibleCareerPage
                userType           = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_PossibleCareerPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  InformationalApp.SubjectOfferedPage
                userType           = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_10_SubjectOfferedPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 11:   //  InformationalApp.SubjectsDonePage
                userType           = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_11_SubjectsDonePage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  InformationalApp.UpdateInformationPage
                userType           = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_UpdateInformationPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  InformationalApp.UpdatePage
                userType           = new global::InformationalApp.InformationalApp_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_13_UpdatePage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }