Beispiel #1
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::GUI.GUI_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::GUI.GUI_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  GUI.BlankPage1
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_BlankPage1;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

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

            case 3:   //  GUI.MainPage
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_3_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  GUI.VideoStabilisation
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_4_VideoStabilisation;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::GUI.GUI_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::GUI.GUI_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  GUI.ContentDialogPoPup.ctdlCaiDatGiaTriTrungBinh
                userType = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_0_ctdlCaiDatGiaTriTrungBinh;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.ContentDialog
                xamlType = new global::GUI.GUI_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.ContentControl
                xamlType = new global::GUI.GUI_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  GUI.ContentDialogPoPup.ctdlDangNhap
                userType = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_3_ctdlDangNhap;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  GUI.ContentDialogPoPup.ctdlQuenMatKhau
                userType = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_4_ctdlQuenMatKhau;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  GUI.ContentDialogPoPup.ctdlSuaCongViec
                userType = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_5_ctdlSuaCongViec;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  GUI.ContentDialogPoPup.ctdlTaoTaiKhoan
                userType = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_6_ctdlTaoTaiKhoan;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  GUI.ContentDialogPoPup.ctdlThemCongViec
                userType = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_7_ctdlThemCongViec;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  GUI.ContentDialogPoPup.ctdlThemCongViecLoop
                userType = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_8_ctdlThemCongViecLoop;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  GUI.ContentDialogPoPup.ctdlThemThuChi
                userType = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_9_ctdlThemThuChi;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  GUI.ContentDialogPoPup.ctdlThemTien
                userType = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_10_ctdlThemTien;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 11:   //  GUI.ContentDialogPoPup.ShowAllItem
                userType = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_11_ShowAllItem;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  GUI.MainPage
                userType = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::GUI.GUI_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 14:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::GUI.GUI_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return xamlType;
        }
Beispiel #3
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::GUI.GUI_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::GUI.GUI_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  GUI.ContentDialogPoPup.ctdlCaiDatGiaTriTrungBinh
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_0_ctdlCaiDatGiaTriTrungBinh;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.ContentDialog
                xamlType = new global::GUI.GUI_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.ContentControl
                xamlType = new global::GUI.GUI_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  GUI.ContentDialogPoPup.ctdlDangNhap
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_3_ctdlDangNhap;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  GUI.ContentDialogPoPup.ctdlQuenMatKhau
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_4_ctdlQuenMatKhau;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  GUI.ContentDialogPoPup.ctdlSuaCongViec
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_5_ctdlSuaCongViec;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  GUI.ContentDialogPoPup.ctdlTaoTaiKhoan
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_6_ctdlTaoTaiKhoan;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  GUI.ContentDialogPoPup.ctdlThemCongViec
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_7_ctdlThemCongViec;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  GUI.ContentDialogPoPup.ctdlThemCongViecLoop
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_8_ctdlThemCongViecLoop;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  GUI.ContentDialogPoPup.ctdlThemThuChi
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_9_ctdlThemThuChi;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  GUI.ContentDialogPoPup.ctdlThemTien
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_10_ctdlThemTien;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 11:   //  GUI.ContentDialogPoPup.ShowAllItem
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentDialog"));
                userType.Activator = Activate_11_ShowAllItem;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  GUI.MainPage
                userType           = new global::GUI.GUI_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::GUI.GUI_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 14:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::GUI.GUI_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return(xamlType);
        }