示例#1
0
        public TabbedHomePage()
        {
            BindingContext = App.Locator.TabbedHome;
            InitializeComponent();
//			base.Init();
            Title           = "Home";   //Shouldn't be displayed.
            BackgroundColor = Color.FromRgb(255, 255, 255);

            var myPrompting  = new PromptingHomePage();
            var myActivities = new ActivityHomePage();
            var myReminders  = new RemindersHomePage();
            var myMapping    = new MappingHomePage();
            var mySettings   = new SettingsHomePage();

            Children.Add(myPrompting);
            Children.Add(myActivities);
            Children.Add(myReminders);
            Children.Add(myMapping);
            Children.Add(mySettings);
        }
		public TabbedHomePage()
		{
			BindingContext = App.Locator.TabbedHome;
			InitializeComponent();
//			base.Init();
			Title = "Home"; //Shouldn't be displayed.
			BackgroundColor = Color.FromRgb(255,255,255);

			var myPrompting = new PromptingHomePage();
			var myActivities = new ActivityHomePage ();
			var myReminders = new RemindersHomePage();
			var myMapping = new MappingHomePage();
			var mySettings = new SettingsHomePage();

			Children.Add(myPrompting);
			Children.Add (myActivities);
			Children.Add(myReminders);
			Children.Add(myMapping);
			Children.Add(mySettings);
		}