ACAT.Extensions.Default.FunctionalAgents.NewFile.NewFileAgent.showFileChoices C# (CSharp) 메소드

showFileChoices() 개인적인 메소드

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

            return _fileChoiceMenu.Choice;
        }