public static DialogResult Show(string message, string title, string[] items) { ListBoxResultsForm frm = new ListBoxResultsForm(); frm.Title = title; frm.Message = message; foreach (string item in items) { frm.AddListItem(item); } return(frm.ShowDialog()); }
public static void ShowInfo(string message, string[] items) { ListBoxResultsForm.Show(message, StringConstants.GetString(StringNames.MESSAGE_BOX_TITLE_INFO), items); }