private void btnNuevo_Click(object sender, EventArgs e) { var frm = new frmProtocolEdit(string.Empty, "New"); frm.ShowDialog(); // Refrescar grilla btnFilter_Click(sender, e); }
private void Edit_Click(object sender, EventArgs e) { var frm = new frmProtocolEdit(_protocolId, "Edit"); frm.ShowDialog(); // Refrescar grilla btnFilter_Click(sender, e); }
private void btnEditar_Click(object sender, EventArgs e) { var frm = new frmProtocolEdit(_protocolId, "Edit"); frm.ShowDialog(); // Refrescar grilla btnFilter_Click(sender, e); grdProtocolComponent.DataSource = new List <ProtocolComponentList>(); lblCostoTotal.Text = ""; }
private void button7_Click(object sender, EventArgs e) { var frm = new frmProtocolEdit(_protocolId, "Clon"); frm.ShowDialog(); if (frm.DialogResult == DialogResult.OK) { // Refrescar grilla btnFilter_Click(sender, e); } }