public void ShowInfo(string message)
 {
     var msjInfo = new GenericMessage
     {
         Message = message,
         Type = GenericMessageType.Info,
         Title = "Información"
     };
     using (var form = new FrmGenericMessage(msjInfo))
     {
         form.ShowDialog();
     }
 }
 public void ShowError(string message)
 {
     var msjerror = new GenericMessage
     {
         Message = message,
         Type = GenericMessageType.Error,
         Title = "Error"
     };
     using (var form = new FrmGenericMessage(msjerror))
     {
         form.ShowDialog();
     }
 }
 public void ShowWarning(string message)
 {
     var msjWarning = new GenericMessage
     {
         Message = message,
         Type = GenericMessageType.Warning,
         Title = "Advertencia"
     };
     using (var form = new FrmGenericMessage(msjWarning))
     {
         form.ShowDialog();
     }
 }
 public void ShowSuccess(string message)
 {
     var msjsuccess = new GenericMessage
     {
         Message = message,
         Type = GenericMessageType.Success,
         Title = "Éxito"
     };
     using (var form = new FrmGenericMessage(msjsuccess))
     {
         form.ShowDialog();
     }
 }