private void UPnPButton_Click(object sender, RoutedEventArgs e) { Dialogs.UPnPDialog dlg = new Dialogs.UPnPDialog(ServerService.Helper.Settings.Instance.LAN.ToString()); dlg.ShowDialog(); }