private void btnReporte_Click(object sender, EventArgs e) { FrameReporteComprobacion n = new FrameReporteComprobacion(_lstFinal, UltimoMes); n.MdiParent = this.MdiParent; n.Show(); }
private void balanceDeComprobaciónToolStripMenuItem_Click(object sender, EventArgs e) { try { if (GlobalConfig.Compañia != null) { FrameReporteComprobacion n = new FrameReporteComprobacion(); n.MdiParent = this; n.Show(); } else { MessageBox.Show("Seleccione una compañia", TextoGeneral.NombreApp, MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } } catch (Exception ex) { MessageBox.Show(ex.Message); } }