Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FaceLoginApp: PaginaBienvenido.xaml.cs
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using FaceLoginApp.Modelos;
namespace FaceLoginApp.Paginas
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class PaginaBienvenido : ContentPage
{
Usuario usuario;
public PaginaBienvenido(Usuario usuario)
{
InitializeComponent();
this.usuario = usuario;
}
protected override void OnAppearing()
{
base.OnAppearing();
imagen.Source = ImageSource.FromFile(usuario.FotoActual);
lblMensaje.Text = usuario.MensajeBienvenida;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.