private void verCambiosToolStripMenuItem_Click(object sender, EventArgs e) { string commentary = _protocolBL.GetComentaryUpdateByProtocolId(_protocolId); if (commentary == "") { MessageBox.Show("Aún no se han realizado cambios.", "AVISO", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } var frm = new frmViewChanges(commentary); frm.ShowDialog(); }
private void verCambiosToolStripMenuItem_Click(object sender, EventArgs e) { _medicoId = grdData.Selected.Rows[0].Cells["v_MedicoId"].Value.ToString(); string commentary = oHospitalizacionBL.GetComentaryUpdateByMedicoId(_medicoId); if (commentary == "" || commentary == null) { MessageBox.Show("Aún no se han realizado cambios.", "AVISO", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } var frm = new frmViewChanges(commentary); frm.ShowDialog(); }