private void button2_Click(object sender, EventArgs e) { LoginCustomer loginCustomer = new LoginCustomer(); this.Hide(); loginCustomer.Show(); }
private void bSkip_Click(object sender, EventArgs e) { timer.Stop(); LoginCustomer loginCustomer = new LoginCustomer(); loginCustomer.Show(); this.Hide(); }
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(); } }