public LoginModalPage (ILoginManager ilm)
		{
			login = new LoginPage (ilm);
			create = new CreateAccountPage (ilm);
			this.Children.Add (login);
			this.Children.Add (create);

			MessagingCenter.Subscribe<ContentPage> (this, "Login", (sender) => {
				this.SelectedItem = login;
			});
			MessagingCenter.Subscribe<ContentPage> (this, "Create", (sender) => {
				this.SelectedItem = create;
			});
		}
Esempio n. 2
0
        public LoginModalPage(ILoginManager ilm)
        {
            login  = new LoginPage(ilm);
            create = new CreateAccountPage(ilm);
            this.Children.Add(login);
            this.Children.Add(create);

            MessagingCenter.Subscribe <ContentPage> (this, "Login", (sender) => {
                this.SelectedItem = login;
            });
            MessagingCenter.Subscribe <ContentPage> (this, "Create", (sender) => {
                this.SelectedItem = create;
            });
        }