Beispiel #1
0
        /// <summary>
        /// Action Listener that will begin the work flow to start creating a folder tile. This will bring up a keyboard for the user
        /// to name the tile they want to create. Once that keyboard closes, an ImageGenerator will popup that will allow the user
        /// to select an image for the tile. Will then make use of the CreateTile method once that data has been collected.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void InsertTalkerTile_Click(object sender, RoutedEventArgs e)
        {
            KeyboardPopup board    = new KeyboardPopup();
            string        tileName = board.GetUserInput();

            if (tileName != "")
            {
                string path = ImageGenerator.ImagePopup();
                CreateTile(path, tileName);
            }
        }
Beispiel #2
0
        public static string ImagePopup()
        {
            ImageGenerator ig = new ImageGenerator();

            return(ig.ShowImages());
        }