Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Object behavior in MainWindow?
Message
De
26/04/2010 06:45:38
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, États-Unis
 
 
À
26/04/2010 06:14:49
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01461942
Message ID:
01461990
Vues:
42
Thanks Antonio. I will check this out.

Guy



>Hi Guy,
>
>The MainWindow class is derived from mmBaseWindow and the mmBusinessWindow or mmBusinessmaintWindow are derived from mmBaseWindow too. So, the only thing you should do is to derive your MainWindow from the mmBusinessWindow class in the MainWindow.xaml.cs file. Just change mmBaseWindow to mmBusinessWindow.
>
>Instead of:
>
>using OakLeaf.MM.Main.WPF;
>
>namespace YourNamespace
>{
>    /// <summary>
>    /// Interaction logic for MainWindow.xaml
>    /// </summary>
>    public partial class MainWindow : mmBaseWindow
>
>
>Change the class definition to:
>
>using OakLeaf.MM.Main.WPF;
>
>namespace YourNamespace
>{
>    /// <summary>
>    /// Interaction logic for MainWindow.xaml
>    /// </summary>
>    public partial class MainWindow : mmBusinessWindow
>
>
>Then in your MainWindow.xaml file you should change mmwpf:mmBaseWindow to mmwpf:mmBusinessWindow in the first and last lines of the code and in the windows resources mmwpf:mmBaseWindow.Resources open and close line.
>
>I hope it will help you.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform