//carga los datos si inicio co facebook public Ingreso(string nombre, string id, Uri urlimge) { InitializeComponent(); lblCuenta.Text = nombre; lblId.Text = id; PicBoxImagen.LoadAsync(urlimge.ToString()); this.cargarInicio(); }
//carga datos si ingreso con gmail public Ingreso(string nombre, string id, string urlImgen) { InitializeComponent(); PicBoxImagen.LoadAsync(urlImgen); //////////////////////////////////////////// lblCuenta.Text = nombre; lblId.Text = id; this.cargarInicio(); }
public frmAgenda(string nombre, string id, string urlImgen) { //se setean los datos por parametros InitializeComponent(); ubo = new UsuarioBO(); /////////////////////////////////////////////// lblCuenta.Text = nombre; lblId.Text = id; PicBoxImagen.LoadAsync(urlImgen); this.CargarTiempo(); btnPostear.Enabled = false; }
public frmAgenda(string nombre, string id, Uri urlimge, string accesToken) { //se setean los datos por parametros InitializeComponent(); ubo = new UsuarioBO(); lblCuenta.Text = nombre; lblId.Text = id; PicBoxImagen.LoadAsync(urlimge.ToString()); AccesToken = accesToken; //validamos que la coneccion se de facebook publicar = true; if (nombre == "Marco Cambronero Vargas") { btnPostear.Enabled = publicar; } else { btnPostear.Enabled = false; } this.CargarTiempo(); }