2 This file is part of the HandBrake source code.
\r
3 Homepage: <http://handbrake.fr>.
\r
4 It may be used under the terms of the GNU General Public License. */
\r
6 namespace HandBrakeWPF
\r
8 using Caliburn.PresentationFramework.ApplicationModel;
\r
10 using HandBrakeWPF.ViewModels;
\r
13 /// Interaction logic for App.xaml
\r
15 public partial class App : CaliburnApplication
\r
19 * - Setup Castle Windsor support for services.
\r
26 /// Initializes a new instance of the <see cref="App"/> class.
\r
33 /// Create the Root View
\r
38 protected override object CreateRootModel()
\r
40 var binder = (DefaultBinder)Container.GetInstance<IBinder>();
\r
42 binder.EnableBindingConventions();
\r
43 binder.EnableMessageConventions();
\r
45 return new MainViewModel();
\r