public static DesktopWindowManager GetInstance()
        {
            if (windowManager == null)
            {
                windowManager = new DesktopWindowManager();
            }

            return(windowManager);
        }
Ejemplo n.º 2
0
        public VMSubAppFrame(DesktopItem pItem)
        {
            Model = new MSubAppFrame();
            Item  = pItem;

            foreach (var i in AppManager.GetInstance().AppItemList)
            {
                if (i.AppUID == pItem.AppUID)
                {
                    AppImage = i.Icon;
                    AppTitle = i.Name;
                    break;
                }
            }

            DesktopWindowManager.GetInstance().DesktopSettingsCallback += DesktopSettings;
            DesktopSettings(DesktopWindowManager.GetInstance().IsSettings);
        }