예제 #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();
        }
예제 #2
0
 public Navigator(MainWindow mainWindow)
 {
     this.mainWindow = mainWindow;
     pagesHistory = new Stack<IKinectPage>();
 }