public void OnMensajeStatus(string titulo, string detalle) { if (MensajeStatus == null) { return; } MensajeEventArgs e = new MensajeEventArgs(titulo, detalle, MessageBoxIcon.Information); MensajeStatus(this, e); }
public void OnMensajeError(string titulo, string detalle) { if (MensajeError == null) { return; } MensajeEventArgs e = new MensajeEventArgs(titulo, detalle, MessageBoxIcon.Error); MensajeError(this, e); }
public void OnMensajeAlerta(string titulo, string detalle) { if (MensajeAlerta == null) { return; } MensajeEventArgs e = new MensajeEventArgs(titulo, detalle, MessageBoxIcon.Warning); MensajeAlerta(this, e); }
public int OnMensajeDecision(string titulo, string detalle, int opcion) { if (MensajeAlerta == null) { return(0); } MensajeEventArgs e = new MensajeEventArgs(titulo, detalle, opcion, MessageBoxIcon.Warning); e.Opcion = opcion; MensajeDecision(this, e); return(e.Opcion); }