Esempio n. 1
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName)
        {
            global::App6.FLAMES_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App6.FLAMES_XamlTypeInfo.XamlUserType       userType;

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

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

            case "App6.MainPage":
                userType           = new global::App6.FLAMES_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::App6.MainPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_MainPage;
                xamlType           = userType;
                break;
            }
            return(xamlType);
        }
Esempio n. 2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName)
        {
            global::App6.FLAMES_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::App6.FLAMES_XamlTypeInfo.XamlUserType userType;

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

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

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

            }
            return xamlType;
        }