Exemple #1
0
        private void bunifuThinButton21_Click(object sender, EventArgs e)
        {
            this.Hide();
            UserDashboard obj = new UserDashboard();

            obj.Show();
        }
        private void timer1_Tick(object sender, EventArgs e)
        {
            timer1.Enabled = false;
            if (currentcolor < colors.Count - 1)
            {
                this.BackColor = Bunifu.Framework.UI.BunifuColorTransition.getColorScale(a, colors[currentcolor], colors[currentcolor + 1]);
                if (a < 100)
                {
                    a++;
                }
                else
                {
                    a = 0;
                    currentcolor++;
                }
                timer1.Enabled = true;
            }
            if (currentcolor == 2)
            {
            }

            if (timer1.Enabled == false)
            {
                this.Hide();
                UserDashboard UD = new UserDashboard();
                UD.Show();
            }
        }
Exemple #3
0
        private void EntryExit_Click(object sender, EventArgs e)
        {
            this.Close();
            UserDashboard usd = new UserDashboard();

            usd.Show();
        }