Exemplo n.º 1
0
 protected void Session_Start()
 {
     // initialize app
     MXWebkitContainer.Initialize(new CustomerManagement.App());
     // add views to container
     MXWebkitContainer.AddView <List <Customer> >(new Views.CustomerListView(), ViewPerspective.Default);
     MXWebkitContainer.AddView <Customer>(new Views.CustomerEditView(), ViewPerspective.Update);
     MXWebkitContainer.AddView <Customer>(new Views.CustomerView(), ViewPerspective.Default);
 }
Exemplo n.º 2
0
 protected void Session_Start()
 {
     // initialize app
     MXWebkitContainer.Initialize(new BestSellers.App());
     // add views to container
     MXWebkitContainer.AddView <CategoryList>(new Views.CategoryListView(), ViewPerspective.Read);
     MXWebkitContainer.AddView <BookList>(new Views.BookListView(), ViewPerspective.Read);
     MXWebkitContainer.AddView <Book>(new Views.BookView(), ViewPerspective.Read);
 }