Пример #1
0
        protected void Session_Start()
        {
            // initialize app
            // MXWebkitContainer.Initialize(new MyApp.App());

            // add views to container
            MXWebkitContainer.AddView <string>(new Views.MessageView(), ViewPerspective.Default);
        }
Пример #2
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);
 }
Пример #3
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);
 }