private void txtDocumento_DoubleClick(object sender, EventArgs e) { Empleados.Gestionar GE = new Empleados.Gestionar(); GE.BringToFront(); GE.EmpAsignar = "PRESTAR"; GE.Show(this); }
private void AbrirEmpleados() { Empleados.Gestionar GE = new Empleados.Gestionar(); GE.TopLevel = false; GE.Dock = DockStyle.Fill; this.Contenedor.Controls.Clear(); this.Contenedor.Controls.Add(GE); this.Contenedor.Tag = GE; GE.BringToFront(); GE.Show(); }