public MapCCodeMod(MainRegistrationViewController owner)
 {
     mapCodeNames = new List <Tuple <string, string> >();
     mapCodeNames.Add(new Tuple <string, string>("Select", "SE"));
     mapCodeNames.Add(new Tuple <string, string>("USA", "US"));
     mapCodeNames.Add(new Tuple <string, string>("Canada", "CA"));
     mapCodeNames.Add(new Tuple <string, string>("World", "WO"));
     Owner = owner;
 }
        public List <IMultiStepProcessStep> GetSteps()
        {
            GridLayout classificationsGridLayout = new GridLayout();

            int classificationItemWidth  = UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Pad ? 200 : 100;
            int classificationItemHeight = UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Pad ? 150 : 100;

            classificationsGridLayout.ItemSize = new CoreGraphics.CGSize(classificationItemWidth, classificationItemHeight);

            int insetTop             = UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Pad ? 125 : 75;
            int insetLeftBottomRight = UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Pad ? 50 : 5;

            classificationsGridLayout.SectionInset        = new UIEdgeInsets(insetTop, insetLeftBottomRight, insetLeftBottomRight, insetLeftBottomRight);
            classificationsGridLayout.HeaderReferenceSize = new CoreGraphics.CGSize(UIScreen.MainScreen.Bounds.Width - 100, 0);

            FavoriteClassificationsViewController favClassificationsVC = new FavoriteClassificationsViewController(classificationsGridLayout);

            favClassificationsVC.CollectionView.BackgroundView          = new UIImageView(UIImage.FromBundle("new_home_bg1"));
            favClassificationsVC.CollectionView.AllowsMultipleSelection = true;

            //RegistrationProfileViewController myInterestsVC = this.Storyboard.InstantiateViewController("MyProfileViewController") as RegistrationProfileViewController;

            MainRegistrationViewController mainRegistrationVC = UIStoryboard.FromName(UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Pad ?"Registration_ipad":"Registration", null).InstantiateViewController("MainRegistrationViewController") as MainRegistrationViewController;

            Page2RegistrationViewController page2RegistrationVC = UIStoryboard.FromName(UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Pad ?"Registration_ipad":"Registration", null).InstantiateViewController("Page2RegistrationViewController") as Page2RegistrationViewController;

            Page3RegistrationViewController page3RegistrationVC = UIStoryboard.FromName(UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Pad ?"Registration_ipad":"Registration", null).InstantiateViewController("Page3RegistrationViewController") as Page3RegistrationViewController;

            var steps = new List <IMultiStepProcessStep>()
            {
                //favClassificationsVC,
                //myInterestsVC
                mainRegistrationVC,
                page2RegistrationVC,
                page3RegistrationVC
            };



            steps.ForEach(s =>
            {
                s.StepActivated   += HandleStepActivated;
                s.StepDeactivated += HandleStepDeactivated;
            });

            return(steps);
        }
 public LocationsMod(MainRegistrationViewController owner)
 {
     Owner = owner;
 }