Exemple #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            // Catalog all exported parts within this assembly
            this.catalog = new AssemblyCatalog(typeof(App).Assembly);
            this.compositionContainer = new CompositionContainer(this.catalog);

            Window window = new MainWindow(this.compositionContainer.GetExportedValue<KinectController>());
            window.Show();
        }
Exemple #2
0
 public Navigator(MainWindow mainWindow)
 {
     this.mainWindow = mainWindow;
     pagesHistory = new Stack<IKinectPage>();
 }