ACAT.Extensions.Default.FunctionalAgents.NewFile.NewFileAgent.showFileChoices C# (CSharp) Méthode

showFileChoices() private méthode

Displays a menu to let the user to select whether to create a text file or a word doc
private showFileChoices ( ) : String
Résultat String
        private String showFileChoices()
        {
            _fileChoiceMenu = Context.AppPanelManager.CreatePanel("FileChoiceMenu", Resources.CreateNew) as FileChoiceMenu;
            _scannerShown = false;
            Context.AppPanelManager.ShowDialog(_fileChoiceMenu as IPanel);

            return _fileChoiceMenu.Choice;
        }