private void SlowlorisItem_Click(object sender, RoutedEventArgs e) { _attackWindow = new AttackWindow(Connections, 2, "Broadcast Slowloris Attack"); _attackWindow.Owner = this; if (_attackWindow.ShowDialog() == true) { // Broadcast Attack Window closed } }
private void SynFloodItem_Click(object sender, RoutedEventArgs e) { _attackWindow = new AttackWindow(Connections, 1, "Broadcast SYN Flood Attack"); _attackWindow.Owner = this; if (_attackWindow.ShowDialog() == true) { // Broadcast Window closed } }