////////////////// // SETUP MENU // ////////////////// private void SetupFacilityClick(object sender, RoutedEventArgs e) { IDDFacility f = new IDDFacility(); if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) { // nothing to do here } }