The CompositeWPF.Library is a library that I am working on to service the SDMS application. Among other capabilities it has a modified BootStrapper and TraceLogger (uses trace tool)
-
Create a new WPF Application
-
Add references to the CompositeWPF and CompositeWPF.Library
-
Update your App.xaml.cs as follows:
public partial class App : Application
{
public App()
{
BootStrapper bootStrapper = new BootStrapper(CreateShell, GetType());
bootStrapper.Run();
}
protected DependencyObject CreateShell(IUnityContainer container)
{
// Launch our shell
Window1 shell = container.Resolve<Window1>();
shell.Show();
return shell;
}
}
Tags:
compositewpf,
compositewpf.library
Categories: