Esempio n. 1
0
        protected OperationState saveFile(NavigationToken token)
        {
            Controllable page = searchInOpenedPages(token.currentActiveFunctionality);

            if (page != null)
            {
                if (page.Save() == OperationState.CONTINUE)
                {
                    page.IsModify = false;
                    page.ToolBar.SaveButton.IsEnabled = false;
                }
                return(OperationState.CONTINUE);
            }
            return(OperationState.CONTINUE);
        }