public static void Show(string title, string text) { using (AboutBoxWnd form = new AboutBoxWnd()) { form.Text = title; form.label1.Text = text; form.ShowDialog(); } }