コード例 #1
0
        public void InitializeCategoriesTable()
        {
            categoriesTableSource = new TableSourceCategories();
            categoriesTableSource.CategoryRowToSessionTableViewController += CategoryRowToImageStackDelegate;
            categoriesTableSource.HideTable += ShowImageStackView;

            categoriesTableViewController  = new CategoriesTableViewController(categoriesTableSource);
            categoriesNavigationController = new MasterTableNavigationController(categoriesTableViewController);
        }
コード例 #2
0
        public void initializeMasterControllerFields()
        {
            //Create the Profile source and assign the delegate
            ProfilesSource = new TableSourceProfiles();
            ProfilesSource.ProfileRowToController += GetRowClickedFromProfilesSource;
            ProfilesSource.HideTable += ShowSessionTableHandler;

            //create the profile table controller
            profilesTableViewController = new ProfilesTableViewController(ProfilesSource);
            navController = new MasterTableNavigationController(profilesTableViewController);
        }
コード例 #3
0
        public void InitializeRightTableView()
        {
            //Right Table (Image Attributes)
            RightAttributesTableSource = new TableSourceImageAttributes();
            RightAttributesTableSource.ImageAttributeToAttributes += InsertAttributeForImage;
            RightImageAttributeTable            = new ImageAttributesTableViewController(RightAttributesTableSource);
            ImageAtrributesNavigationController = new MasterTableNavigationController(RightImageAttributeTable);

            /*
             * Get the left Button handler, show the listview
             */

            UIBarButtonItem addAttribute = ImageAtrributesNavigationController.LeftButton();

            addAttribute.Clicked += AddImageAttribute;
            RightAttributesTableSource.AttributeRowToController += GetAttributeRowSelectedRight;
        }