Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference to MainWindow
Message
De
12/01/2009 16:30:59
Sid Meyers
Omegaware Consulting, Inc.
Minnesota, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Reference to MainWindow
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01372971
Message ID:
01372971
Vues:
71
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform