private void pictEscribir_Click(object sender, EventArgs e) { NuevoMensaje newMsg = new NuevoMensaje(user, null); newMsg.ShowDialog(); if (envRec == 0) { cargarMensajesEnviados(); } }
// //BOTONES CARTEL // private void bResponder_Click(object sender, EventArgs eventArgs, Mensaje msg) { NuevoMensaje newMsg = new NuevoMensaje(user, msg.Emisor); newMsg.tAsunto.Text = msg.Asunto; newMsg.tAsunto.Enabled = false; newMsg.ShowDialog(); if (envRec == 0) { cargarMensajesEnviados(); } else { cargarMensajesRecibidos(); //Se pueden enviar mensajes a uno mismo } }