private void Button_Click(object sender, RoutedEventArgs e) { ExpenseItReport expenseReport = new ExpenseItReport(this.peopleListBox.SelectedItem) { Width = this.Width, Height = this.Height }; expenseReport.ShowDialog(); }
private void Button_Click(object sender, RoutedEventArgs e) { ExpenseItReport expenseReportWindow = new ExpenseItReport(); expenseReportWindow.Show(); }