コード例 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            LoginCustomer loginCustomer = new LoginCustomer();

            this.Hide();
            loginCustomer.Show();
        }
コード例 #2
0
        private void bSkip_Click(object sender, EventArgs e)
        {
            timer.Stop();
            LoginCustomer loginCustomer = new LoginCustomer();

            loginCustomer.Show();
            this.Hide();
        }
コード例 #3
0
 private void timer_Tick(object sender, EventArgs e)
 {
     if (timeLeft > 0)
     {
         timeLeft       -= 1;
         labelTimer.Text = "Time Left: " + timeLeft + " second(s)";
     }
     else
     {
         timer.Stop();
         LoginCustomer loginCustomer = new LoginCustomer();
         loginCustomer.Show();
         this.Hide();
     }
 }