Esempio n. 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            Login_page l = new Login_page();

            label4.Text      = Login_page.user_id;
            panel1.BackColor = Color.FromArgb(225, 0, 0, 0);
        }
Esempio n. 2
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            panel5.Width += 3;
            Double count = (panel5.Width * 100) / 698;

            if (panel5.Width > 698)
            {
                timer1.Stop();
                this.Hide();
                Login_page lg = new Login_page();
                lg.Show();
            }
            else
            {
                if (panel5.Width > 500 && panel5.Width < 540 || panel5.Width == 698)
                {
                    Thread.Sleep(500);
                }
                label6.Text = Convert.ToString(count) + " %";
            }
        }