public override void btExcel_Click(object sender, EventArgs e) { base.btExcel_Click(sender, e); //if (parametros == null) //{ // return; //} //if (parametros.Count >= 2 && parametros[2].Byte) //{ Exportar_Excel.ExportarExcel(Grid); //} //else //{ // MetroMessageBox.Show(this, "\nInstale o software Microsoft Excel para gerar a planilha.", "Aviso", MessageBoxButtons.OK, MessageBoxIcon.Information); //} }
public override void btExcel_Click(object sender, EventArgs e) { base.btExcel_Click(sender, e); Exportar_Excel.ExportarExcel(Grid); }