private void tobBuscarPaciente_Click(object sender, EventArgs e) { FrmBlackBackground oFrmBlackBackground = new FrmBlackBackground(); oFrmBlackBackground.Show(); RadioButton tempTipoCedula = new RadioButton(); frmPacientesExistentesBusquedaConsultas oFrmPacientesExistentes = new frmPacientesExistentesBusquedaConsultas(TxtNumExpediente, TxtNombre, txtApellidos, TxtCedula, pictureBox3, tempTipoCedula); oFrmPacientesExistentes.ShowDialog(); if (tempTipoCedula.Checked == true) { RdNacional.Checked = true; } else { RdExtranjero.Checked = true; } tempTipoCedula.Dispose(); pictureBox3.BackgroundImageLayout = ImageLayout.Stretch; oFrmBlackBackground.Close(); }
private void tobBuscarPaciente_Click(object sender, EventArgs e) { FrmBlackBackground oFrmBlackBackground = new FrmBlackBackground(); oFrmBlackBackground.Show(); FrmPacientesExistentes oFrmPacientesExistentes = new FrmPacientesExistentes(TxtNumExpediente, TxtNombre); oFrmPacientesExistentes.ShowDialog(); oFrmBlackBackground.Close(); }
private void btnPhotoAlbum_Click(object sender, EventArgs e) { FrmBlackBackground oFrmBlackBackground = new FrmBlackBackground(); oFrmBlackBackground.Show(); frmPhotoAlbum ofrmPhotoAlbum = new frmPhotoAlbum(oGlobalElementList); ofrmPhotoAlbum.ShowDialog(); oFrmBlackBackground.Close(); }
private void btnPhotoAlbum_Click(object sender, EventArgs e) { if (flowLayoutPanel1.Controls.Count > 0) { FrmBlackBackground oFrmBlackBackground = new FrmBlackBackground(); oFrmBlackBackground.Show(); frmPhotoAlbum ofrmPhotoAlbum = new frmPhotoAlbum(globalElementsDetails); ofrmPhotoAlbum.ShowDialog(); oFrmBlackBackground.Close(); } }
private void tobModificarCategoria_Click(object sender, EventArgs e) { FrmBlackBackground ofrm = new FrmBlackBackground(); ofrm.Show(); frmCategoriasExamenes ofrmCategoriasExamenes = new frmCategoriasExamenes(); ofrmCategoriasExamenes.ShowDialog(); ofrm.Close(); LlenaComboCategorias(); if (lstGabinete.SelectedItems.Count > 0) { lstGabinete_SelectedIndexChanged(sender, e); } }
private void tobBuscarPaciente_Click(object sender, EventArgs e) { FrmBlackBackground oFrmBlackBackground = new FrmBlackBackground(); oFrmBlackBackground.Show(); FrmPacientesExistentes oFrmPacientesExistentes = new FrmPacientesExistentes(TxtNumExpediente, TxtNombre); oFrmPacientesExistentes.ShowDialog(); oFrmBlackBackground.Close(); if (!TxtNumExpediente.Text.Trim().Equals("")) { ObtieneDatosPaciente(TxtNumExpediente.Text.Trim()); AgregarExamenesAGrid(); AgregarGabinetesAGrid(); } }
private void tobMagnifyImage_Click(object sender, EventArgs e) { FrmBlackBackground oFrmBlackBackground = new FrmBlackBackground(); try { oFrmBlackBackground.Show(); bool allowEdit = false; if (btnAgregarImagen.Enabled == true) { allowEdit = true; } FrmImagenAmpliada oFrmImagenAmpliada = new FrmImagenAmpliada(tempElementsValues.OBytes, allowEdit); oFrmImagenAmpliada.ShowDialog(); oFrmBlackBackground.Close(); } catch { } finally { oFrmBlackBackground.Dispose(); } }