private void btn2_Click(object sender, RoutedEventArgs e) { ListViewTest lvt = new ListViewTest(); lvt.ShowDialog(); }