Beispiel #1
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName)
        {
            global::ACT_Windows_8_Tablet_Drawing.ACT_Windows_8_Tablet_Drawing_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::ACT_Windows_8_Tablet_Drawing.ACT_Windows_8_Tablet_Drawing_XamlTypeInfo.XamlUserType       userType;

            switch (typeName)
            {
            case "Windows.UI.Xaml.Controls.Page":
                xamlType = new global::ACT_Windows_8_Tablet_Drawing.ACT_Windows_8_Tablet_Drawing_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page));
                break;

            case "Windows.UI.Xaml.Controls.UserControl":
                xamlType = new global::ACT_Windows_8_Tablet_Drawing.ACT_Windows_8_Tablet_Drawing_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl));
                break;

            case "ACT_Windows_8_Tablet_Drawing.ThankYou":
                userType           = new global::ACT_Windows_8_Tablet_Drawing.ACT_Windows_8_Tablet_Drawing_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::ACT_Windows_8_Tablet_Drawing.ThankYou), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_ThankYou;
                xamlType           = userType;
                break;

            case "ACT_Windows_8_Tablet_Drawing.MainPage":
                userType           = new global::ACT_Windows_8_Tablet_Drawing.ACT_Windows_8_Tablet_Drawing_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::ACT_Windows_8_Tablet_Drawing.MainPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_1_MainPage;
                xamlType           = userType;
                break;
            }
            return(xamlType);
        }
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName)
        {
            global::ACT_Windows_8_Tablet_Drawing.ACT_Windows_8_Tablet_Drawing_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::ACT_Windows_8_Tablet_Drawing.ACT_Windows_8_Tablet_Drawing_XamlTypeInfo.XamlUserType userType;

            switch (typeName)
            {
            case "Windows.UI.Xaml.Controls.Page":
                xamlType = new global::ACT_Windows_8_Tablet_Drawing.ACT_Windows_8_Tablet_Drawing_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page));
                break;

            case "Windows.UI.Xaml.Controls.UserControl":
                xamlType = new global::ACT_Windows_8_Tablet_Drawing.ACT_Windows_8_Tablet_Drawing_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl));
                break;

            case "ACT_Windows_8_Tablet_Drawing.ThankYou":
                userType = new global::ACT_Windows_8_Tablet_Drawing.ACT_Windows_8_Tablet_Drawing_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::ACT_Windows_8_Tablet_Drawing.ThankYou), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_ThankYou;
                xamlType = userType;
                break;

            case "ACT_Windows_8_Tablet_Drawing.MainPage":
                userType = new global::ACT_Windows_8_Tablet_Drawing.ACT_Windows_8_Tablet_Drawing_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::ACT_Windows_8_Tablet_Drawing.MainPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_1_MainPage;
                xamlType = userType;
                break;

            }
            return xamlType;
        }