Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Network:
Windows 2008 Server
>Joe,
>
>>I need to display some data on the MainWindow which is an mmBaseWindow. I cannot call RegisterPrimaryBizObj. So I create the bizobj and set it into the datacontext and it works ok. Is there any reason or way to use RegisterPrimaryBizObj on the MainWindow?
>
>By main window are you referring to the MDI Main Form? The benefits of registering a business object with a form are so you can use the form level methods such as Save() . These methods allow UI action to be taken like confiming a user wants to delete, etc. There is nothing wrong with using the business object the way you state.
>Tim
Yes the MDI Main Form. I don't need to save, only display. But anyway... how would I register the bo when RegisterPrimaryBizObj is only available on a mmBusinessWindow?
Précédent
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