• bool ConfirmationDialog(String title)
    Shows a confirmation dialog with the specified title and returns true if the user confirms.
    Parameters
    NameDescription
    titleThe title of the dialog
  • string InputDialog(String title, String defaultText)
    Shows an input dialog where the user can enter text.
    Parameters
    NameDescription
    titleThe title of the dialog
    defaultTextThe default text
  • string OpenFile(String title, String filter, String defaultExt)
    Opens a file dialog and returns the selected file path.
    Parameters
    NameDescription
    titleThe title of the dialog
    filterFile extension filter
    defaultExtDefault extension
  • string SelectFile(String filter, String defaultExt)
    Selects a file using a save file dialog and returns the selected file path.
    Parameters
    NameDescription
    filterFile extension filter
    defaultExtDefault extension
  • IEnumerable<string> SelectFilesFromDialog()
    Selects files from a dialog and returns the selected file paths.
  • string SelectFolder(String title)
    Selects a folder using a folder selection dialog.
    Parameters
    NameDescription
    titleThe title of the dialog
  • int SelectIndexFromList(IEnumerable<String> contents, Int32 selectedIndex)
    Selects an item from a list of strings using a combo box dialog and return the index of the selected item.
    Parameters
    NameDescription
    contentsThe available contents
    selectedIndexThe default selected index
  • string SelectItemFromList(IEnumerable<String> contents, Int32 selectedIndex)
    Selects an item from a list of strings using a combo box dialog.
    Parameters
    NameDescription
    contentsThe available contents
    selectedIndexThe default selected index
  • void ShowMessage(String message)
    Shows a message box with the specified message.
    Parameters
    NameDescription
    messageThe message to show