public static void Show(string title, string description) { // using construct ensures the resources are freed when form is closed using (var form = new CoreMessageBox(title, description)) { form.ShowDialog(); } }