static public void Open(string subject = "", string bodyText = "") { if (!contactFormIsOpen) { contactFormWindow = new ContactFormWindow(subject, bodyText); contactFormIsOpen = true; contactFormWindow.Closed += (sender, e) => { contactFormIsOpen = false; }; } else { if (contactFormWindow != null) { contactFormWindow.BringToFront(); } } }