コード例 #1
0
        private bool ReturnWindowManager(UIBaseWindow baseWindow)
        {
            // 退出当前界面子界面
            UIManagerBase baseWindowManager = baseWindow.GetWindowManager;
            bool          isValid           = false;

            if (baseWindowManager != null)
            {
                isValid = baseWindowManager.ReturnWindow();
            }
            return(isValid);
        }
コード例 #2
0
        private bool PopUpWindowManager(UIBaseWindow baseWindow)
        {
            // Recursion call to return windowManager
            // if the current window has windowManager just call current's windowManager PopUpWindowManager
            UIManagerBase baseWindowManager = baseWindow.GetWindowManager;
            bool          isValid           = false;

            if (baseWindowManager != null)
            {
                isValid = baseWindowManager.PopNavigationWindow();
            }
            return(isValid);
        }