Exemplo n.º 1
0
        public void ApplicationEntryBootstrap()
        {
            var nodeViewer = new NodeViewer();
            var nodeApp    = nodeViewer.App;

            app = new AssetExplorerApp();
            app.WriteToConsole  += WriteToConsole;
            app.ListFiles       += FillListView;
            app.PopulateFolders += PopulateFolderExplorer;

            // very important, swap references so they can communicate
            app.NodeApp     = nodeApp;
            nodeApp.MainApp = app;
        }