public void ShowForm/*something*/() { new FormEx</*some XF*/>() .LoadForm(form => { }) .ShowDialog(); }