private void Procesos(int p)
        {
            if (p == 0)
            {
                this.BackColor = Color.Aquamarine;
                Transition1.ShowSync(Lbl1);
                this.BackColor = Color.MidnightBlue;
                Transition1.ShowSync(Lbl2);
                this.BackColor = Color.SkyBlue;
                Transition1.ShowSync(Lbl3);
                this.BackColor = Color.Gold;
                panel1.Hide();
                mover(203, 0);
            }

            if (p == 1)
            {
                this.BackColor = Color.Green;
                Transition1.ShowSync(Lbl4);
                this.BackColor = Color.Teal;
                Transition1.ShowSync(Lbl5);
                this.BackColor = Color.Orange;
                Transition4.ShowSync(PLogoES);
                this.BackColor = Color.PaleGreen;
                Transition2.ShowSync(LblMateria);
                this.BackColor = Color.YellowGreen;
                Transition2.ShowSync(LblProyect);
                this.BackColor = Color.White;
                Transition3.ShowSync(panel1);
                this.BackColor = Color.White;
                this.BackColor = Color.White;
                this.BackColor = Color.White;
            }
        }
示例#2
0
        private void Tslide_Tick(object sender, EventArgs e)
        {
            if (ph11.Visible == true)
            {
                Transition1.ShowSync(ph11);
                ph11.Visible = false;
                ph31.Visible = true;
            }
            else if (ph31.Visible == true)
            {
                Transition3.ShowSync(ph31);

                ph11.Visible = false;
                ph21.Visible = true;
                ph31.Visible = false;
            }
            else
            {
                Transition2.ShowSync(ph21);
                ph11.Visible = true;
                ph21.Visible = false;
                ph31.Visible = false;
            }
        }