//Timer that returns to welcome form private void timer1_Tick(object sender, EventArgs e) { elapseTime -= 1; if (elapseTime == 0) { this.Hide(); frmWelcome wel = new frmWelcome(); wel.Show(); msg.Hide(); elapseTimer.Enabled = false; } }
//Cancel button returning to welcome form private void button1_Click(object sender, EventArgs e) { frmWelcome welcome = new frmWelcome(); welcome.Show(); this.Hide(); }