private void Button_Click(object sender, RoutedEventArgs e) { string message = ""; foreach (string d in document.items) { message = message + "//" + d; } P2P_MainWindow p2P_MainWindow = new P2P_MainWindow(message); p2P_MainWindow.Show(); }
private void Button_Click(object sender, RoutedEventArgs e) { P2P_MainWindow p2p = new P2P_MainWindow(); p2p.Show(); }