Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        private void tobBuscarPaciente_Click(object sender, EventArgs e)
        {
            FrmBlackBackground oFrmBlackBackground = new FrmBlackBackground();

            oFrmBlackBackground.Show();
            FrmPacientesExistentes oFrmPacientesExistentes = new FrmPacientesExistentes(TxtNumExpediente, TxtNombre);

            oFrmPacientesExistentes.ShowDialog();
            oFrmBlackBackground.Close();
        }
Ejemplo n.º 3
0
        private void btnPhotoAlbum_Click(object sender, EventArgs e)
        {
            FrmBlackBackground oFrmBlackBackground = new FrmBlackBackground();

            oFrmBlackBackground.Show();
            frmPhotoAlbum ofrmPhotoAlbum = new frmPhotoAlbum(oGlobalElementList);

            ofrmPhotoAlbum.ShowDialog();
            oFrmBlackBackground.Close();
        }
Ejemplo n.º 4
0
        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();
            }
        }
Ejemplo n.º 5
0
        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();
            }
        }
Ejemplo n.º 7
0
        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(); }
        }