示例#1
0
 private void tblRecogida_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     Equipos.Gestionar GE = new Equipos.Gestionar("RECOGER");
     GE.BringToFront();
     GE.StartPosition = FormStartPosition.CenterScreen;
     GE.Show(this);
 }
 private void tblPrestar_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0 && (tblPrestar.Rows[e.RowIndex].Cells[0].Value != null || tblPrestar.Rows.Count == 1))
     {
         Equipos.Gestionar GE = new Equipos.Gestionar("PRESTAR");
         GE.BringToFront();
         GE.StartPosition = FormStartPosition.CenterScreen;
         GE.Show(this);
     }
 }
 private void AbrirEquipos()
 {
     Equipos.Gestionar GP = new Equipos.Gestionar(null);
     GP.TopLevel = false;
     GP.Dock     = DockStyle.Fill;
     this.Contenedor.Controls.Clear();
     this.Contenedor.Controls.Add(GP);
     this.Contenedor.Tag = GP;
     GP.BringToFront();
     GP.Show();
 }