private void Button_Click(object sender, RoutedEventArgs e) { var ReportWindow = new ReportWindow((TreeViewItem)treeView1.SelectedItem); ReportWindow.Show(); }
private void Button_Click(object sender, RoutedEventArgs e) { var ReportWindow = new ReportWindow((TreeViewItem) treeView1.SelectedItem); ReportWindow.Show(); }