Beispiel #1
0
        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());
        }
Beispiel #2
0
 public static void ShowInfo(string message, string[] items)
 {
     ListBoxResultsForm.Show(message,
                             StringConstants.GetString(StringNames.MESSAGE_BOX_TITLE_INFO),
                             items);
 }