Beispiel #1
0
        public void AppStartup(object sender, StartupEventArgs e)
        {
            DLLEmbeddingHandler.LoadAssemblies();
            DLLEmbeddingHandler.LoadResourceDictionary("StreamlineMVVM", "Templates/MergedResources.xaml");
            DLLEmbeddingHandler.LoadResourceDictionary("CatPersonSearcher", "Resources/DataTemplates.xaml"); // Loads application DataTemplates AFTER libraries loaded so things work.

            Statics.Initialization();
            WindowFactory.Initialize();
            WindowFactory.OpenWindow(new WindowFactoryData()
            {
                WindowType = WindowClassType.MainWindow, Modal = false,
            });
        }
 private void closed(object sender, EventArgs e)
 {
     DLLEmbeddingHandler.Shutdown();
 }