Exemple #1
0
        private void dataListado_DoubleClick(object sender, EventArgs e)
        {
            this.txtIdPersonas.Text = Convert.ToString(this.dataListado.CurrentRow.Cells["Codigo"].Value);
            this.txtNombre.Text     = Convert.ToString(this.dataListado.CurrentRow.Cells["Nombre"].Value);
            this.cbsexo.Text        = Convert.ToString(this.dataListado.CurrentRow.Cells["sexo"].Value);
            this.txtApellido.Text   = Convert.ToString(this.dataListado.CurrentRow.Cells["Apellido"].Value);
            this.dtFecha.Text       = Convert.ToString(this.dataListado.CurrentRow.Cells["fecha_nac"].Value);
            this.txtDireccion.Text  = Convert.ToString(this.dataListado.CurrentRow.Cells["direccion"].Value);
            this.txtLegajo.Text     = Convert.ToString(this.dataListado.CurrentRow.Cells["legajo"].Value);
            this.txtTelefono.Text   = Convert.ToString(this.dataListado.CurrentRow.Cells["telefono"].Value);
            this.cbAcesso.Text      = Convert.ToString(this.dataListado.CurrentRow.Cells["tipo_persona"].Value);
            this.txtE_mail.Text     = Convert.ToString(this.dataListado.CurrentRow.Cells["email"].Value);
            this.txtIdPlan.Text     = Convert.ToString(this.dataListado.CurrentRow.Cells["id_plan"].Value);
            opc = Convert.ToString(this.dataListado.CurrentRow.Cells["Codigo"].Value);
            Data.Database.Plan especia = new Data.Database.Plan();
            Planes             fr      = new Planes();

            cbldEspecialidad.DataSource    = PlanLogic.GetOne(opc);
            cbldEspecialidad.ValueMember   = "id_plan";
            cbldEspecialidad.DisplayMember = "desc_plan";
            if (cbldEspecialidad.DisplayMember == opc)
            {
                txtPlan.Text = fr.Plan;
            }
            this.tabControl1.SelectedIndex = 1;
            cbldEspecialidad.Visible       = true;
            cbldEspecialidad.Enabled       = false;
            txtPlan.Visible = false;
        }
Exemple #2
0
 private void planesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Planes pl = new Planes();
     pl.ShowDialog();
 }
Exemple #3
0
 private void mnuPlanes_Click(object sender, EventArgs e)
 {
     Planes pl = new Planes(UsuarioActual);
     pl.MdiParent = this;
     pl.Show();
 }
Exemple #4
0
 private void btmAdministrarPlanes_Click(object sender, EventArgs e)
 {
     Planes p = new Planes();
     p.Show();
 }
Exemple #5
0
 private void btnPlanes_Click(object sender, EventArgs e)
 {
     Planes planes = new Planes();
     planes.ShowDialog();
 }
Exemple #6
0
 private void planesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Planes plan = new Planes();
     plan.MdiParent = this;
     plan.Show();
 }
Exemple #7
0
        private void tsbPlanes_Click(object sender, EventArgs e)
        {
            Planes plan = new Planes(PerAct);

            plan.Show();
        }