private void TsmConfigurarGrid_Click(object sender, EventArgs e) { try { FrmConfigPedido frm = new FrmConfigPedido(); frm.ShowDialog(); } catch (Exception ex) { _ = ex.Message; } }
private void tsmConfigurarGrid_Click(object sender, EventArgs e) { try { FrmConfigPedido frm = new FrmConfigPedido(); frm.NombreGrid = dgvContactos.Name; frm.ShowDialog(); CargarGrid(); FormatearGrid(); } catch (Exception ex) { _ = ex.Message; } }