private void Button_Click_4(object sender, RoutedEventArgs e) { DeleteUnit d = new DeleteUnit(index2); this.Close(); d.ShowDialog(); }
private void DeleteUnit_Click(object sender, RoutedEventArgs e) { Window deleteUnit = new DeleteUnit(currentHost); deleteUnit.Show(); }