public void PerformAction() { String inputPhrase = Interaction.InputBox("Enter name for the folder you would like to add", "Enter Phrase", "Hello World!"); if (inputPhrase != "") { ChildTalkerFolder ctFolder = new ChildTalkerFolder(inputPhrase, FolderImgPath, Root, true); Root.AddSingleItem(ctFolder); } }
public void PerformAction() { String inputPhrase = Interaction.InputBox("Enter the phrase you would like to add", "Enter Phrase", "Hello World!"); if (inputPhrase != "") { String imagePath = PromptFileExplorer(); if (imagePath != "") { ChildTalkerTile ctItem = new ChildTalkerTile(inputPhrase, imagePath, IsFileTypeTransparent(imagePath)); Root.AddSingleItem(ctItem); } } }