Expand|Select|Wrap|Line Numbers
- public MainWindow()
- {
- lstLoans.ItemsSource = loans;
- }
My problem is, if I type another member code as "user" of the program and press Search, it gets me the new member.Name,..etc , but I have in my mind that each Member is a different instance. But when i press Search button and I Change Member, current loans from the previous and all members are visible to lstLoans,
I want somehow, clearing the list when I get another member and also to show only this members Loans to the lstLoans, and not all loans done.
If you need any code inform me, or just reply ideas.
Thanks in advance.