private void PrintPageEventHandler(object sender, PrintPageEventArgs e) { string InformacionDelError = string.Empty; ClsImpresionTickets.PlatosRecienCocinados(ref e, ref InformacionDelError, ID_PedidoImprimir); if (InformacionDelError != string.Empty) { MessageBox.Show(InformacionDelError, "Aviso", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }