Ejemplo n.º 1
0
 private void timer5_Tick_1(object sender, EventArgs e)
 {
     gpbCliente.Height += 15;
     if (gpbCliente.Height >= 158)
     {
         gpbCliente.Height = 157;
         AbrirCliente.Stop();
     }
 }
Ejemplo n.º 2
0
 private void FecharCliente_Tick(object sender, EventArgs e)
 {
     gpbCliente.Height -= 15;
     if (gpbCliente.Height <= 0)
     {
         gpbCliente.Height = 0;
         AbrirCliente.Stop();
     }
 }
Ejemplo n.º 3
0
        private void pcbcliente_Click(object sender, EventArgs e)
        {
            Image img = pcbcliente.Image;

            img.RotateFlip(RotateFlipType.Rotate180FlipNone);
            pcbcliente.Image = img;



            if (gpbCliente.Height == 0)
            {
                FecharCliente.Stop();
                AbrirCliente.Start();
            }



            if (gpbCliente.Height == 157)
            {
                AbrirCliente.Stop();
                FecharCliente.Start();
            }
        }