private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::CarInterface.CarInterface_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // CarInterface.MainPage userType = new global::CarInterface.CarInterface_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::CarInterface.CarInterface_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // CarInterface.MessageBoxForm userType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_MessageBoxForm; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::CarInterface.CarInterface_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // CarInterface.Dial userType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_0_Dial; userType.AddMemberName("Angle"); userType.AddMemberName("Amount"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Double xamlType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Int32 xamlType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 4: // CarInterface.AirPage userType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_AirPage; userType.SetIsLocalType(); xamlType = userType; break; case 5: // Windows.UI.Xaml.Controls.Page xamlType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // CarInterface.Assets.icons.InCallPage userType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_6_InCallPage; userType.SetIsLocalType(); xamlType = userType; break; case 7: // CarInterface.CallPage userType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_7_CallPage; userType.SetIsLocalType(); xamlType = userType; break; case 8: // CarInterface.CarAboutPage userType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_8_CarAboutPage; userType.SetIsLocalType(); xamlType = userType; break; case 9: // CarInterface.MainPage userType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 10: // CarInterface.MediaPage userType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_MediaPage; userType.SetIsLocalType(); xamlType = userType; break; case 11: // CarInterface.MusicSettingPage userType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_11_MusicSettingPage; userType.SetIsLocalType(); xamlType = userType; break; case 12: // CarInterface.NavPage userType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_12_NavPage; userType.SetIsLocalType(); xamlType = userType; break; case 13: // CarInterface.PairPage userType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_13_PairPage; userType.SetIsLocalType(); xamlType = userType; break; case 14: // CarInterface.SettingsPage userType = new global::CarInterface.CarInterface_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_14_SettingsPage; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }