private void MenuPingArchor_Click(object sender, RoutedEventArgs e) { var archor = DataGrid3.SelectedItem as UDPArchor; if (archor == null) { return; } var pingWnd = new PingWindow(archor.GetIp()); pingWnd.Show(); }
private void MenuPing_Click(object sender, RoutedEventArgs e) { var pingWnd = new PingWindow(); pingWnd.Show(); }