Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Using Modal Form in WPF to Search Data Error
Versions des environnements
Hi all,
I have a problem when I get an entity from a search window. I have designed a WPF window that holds a row (entity) in order to edit it. To get the correct data to populate the form, I have designed another form, that is called as modal from the first form, that searchs data from a textbox and populates a grid (WPFToolkit). After selecting the the correct row in the grid whe can click OK and then the primary key is passed to the calling form in order to get the desired datarow.
Everything works fine till now but when I try to close the window and no changes have been done, the window ask me to save changes.
Each form has its own private Business Object and seems that they interact in some way!!!
Any Idea??
Thanks in advance,
Antonio Llano
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement