public static void Show(string text, string title) { var form = new InformationForm(); form.Text = title; form.txtInfo.Text = text; form.ShowDialog(); }
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(); }