Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reference to MainWindow
Message
From
12/01/2009 16:30:59
Sid Meyers
Omegaware Consulting, Inc.
Minnesota, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Reference to MainWindow
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01372971
Message ID:
01372971
Views:
69
I know this should be straight forward but my mind feels like mush in picking up WPF and Mere Mortals.

I'm trying to display a form for a vendor when their record is selected from inside a customer tab display. I can get the form to display with
mmAppWPF.WindowManager.Show(new VendorList() );
But I want the vendor form to be owned by the "MainWindow" form not the "Customer" form. How do I reference the "MainWindow" form?

I know "this" references the calling window. As an additional aspect of this, eventually I want the vendor form to come up on a details tab with the selected vendor record displayed.

I know all this should be easy, but the older I get the tougher it is "absorb" new language constructs!

Thanks,
-Sid Meyers.
Next
Reply
Map
View

Click here to load this message in the networking platform