Exemplo n.º 1
0
        private void ingresoDePlanificacionAnualDeCapacitacionPorLegajoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            IngrePlanificacionAnual form = new IngrePlanificacionAnual {
                StartPosition = FormStartPosition.CenterScreen
            };

            form.Show(this);
        }
Exemplo n.º 2
0
        private void dgvCursos_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            IngrePlanificacionAnual WOwner = (IngrePlanificacionAnual)Owner;

            if (WOwner == null)
            {
                return;
            }

            if (dgvCursos.CurrentRow != null)
            {
                var WCurso    = dgvCursos.CurrentRow.Cells["Curso"].Value ?? "0";
                var WDesCurso = dgvCursos.CurrentRow.Cells["Descripcion"].Value ?? "0";
                var WHoras    = dgvCursos.CurrentRow.Cells["Horas"].Value ?? "0";

                if (WOwner.AsignarCurso(ZTema, WCurso, WDesCurso, WHoras, WRowIndex))
                {
                    Close();
                }
            }
        }