private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::Application_Education.Application_Education_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Application_Education.MainPage userType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Application_Education.Math.Math_info userType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_Math_info; userType.SetIsLocalType(); xamlType = userType; break; case 4: // Application_Education.Math.Math_level userType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_Math_level; userType.SetIsLocalType(); xamlType = userType; break; case 5: // Application_Education.Math.Math_main userType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_5_Math_main; userType.SetIsLocalType(); xamlType = userType; break; case 6: // Application_Education.Math.Math_report userType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_Math_report; userType.SetIsLocalType(); xamlType = userType; break; case 7: // Application_Education.textspeech.text userType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_7_text; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::Application_Education.Application_Education_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Application_Education.MainPage userType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Application_Education.Math.Math_info userType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_Math_info; userType.SetIsLocalType(); xamlType = userType; break; case 4: // Application_Education.Math.Math_level userType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_Math_level; userType.SetIsLocalType(); xamlType = userType; break; case 5: // Application_Education.Math.Math_main userType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_5_Math_main; userType.SetIsLocalType(); xamlType = userType; break; case 6: // Application_Education.Math.Math_report userType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_Math_report; userType.SetIsLocalType(); xamlType = userType; break; case 7: // Application_Education.textspeech.text userType = new global::Application_Education.Application_Education_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_7_text; userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }