public static void Show(String title, String text, String textWithoutTitle) { var control = new ShareBox(); control.Title = title; control.Text = text; control.TextWithoutTitle = textWithoutTitle ?? title + ": " + text; Show(control); }