Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RegisterPrimaryBizObj with mmBaseWindow
Message
From
12/11/2008 14:51:11
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01361384
Message ID:
01361441
Views:
12
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
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform