Пример #1
0
 public static void Show(string text, string title)
 {
     var form = new InformationForm();
     form.Text = title;
     form.txtInfo.Text = text;
     form.ShowDialog();
 }
Пример #2
0
 public static void Show(List<string> lines , string title)
 {
     var form = new InformationForm();
     form.Text = title;
     form.txtInfo.Clear();
     if (lines != null) form.txtInfo.Lines = lines.ToArray();
     form.ShowDialog();
 }