public static string Show(List <string> options, string title = "Choose an option")
 {
     self = new RemindMeOptionPrompt(options, title);
     self.ShowDialog();
     BLIO.Log("Closing RemindMeOptionPrompt with result " + option);
     return(option);
 }
        private void btnAdd_Click(object sender, EventArgs e)
        {
            BLIO.Log("(AVR) btnAdd click. Select open or delete");
            string option = RemindMeOptionPrompt.Show(new List <string> {
                "Open", "Delete"
            }, "Choose an action");

            if (!string.IsNullOrWhiteSpace(option))
            {
                BLIO.Log("(AVR) selected: " + option + " Select file or folder");
                string option2 = RemindMeOptionPrompt.Show(new List <string> {
                    "A file", "A folder"
                }, "Choose File/Folder");
                BLIO.Log("(AVR) selected: " + option2);
                if (option2 == "A file")
                {
                    //Get the selected file(s) and display them in the listview
                    foreach (string item in FSManager.Files.GetSelectedFilesWithPath())
                    {
                        AddListviewItem(item, option);
                    }
                }
                else if (option2 == "A folder")
                {
                    //Get the selected folder and display them in the listview
                    AddListviewItem(FSManager.Folders.GetSelectedFolderPath(), option);
                }
            }
        }