private void logOutToolStripMenuItem_Click(object sender, EventArgs e) { Login_Screen ah = new Login_Screen(); ah.Show(); this.Visible = false; }
private void t_welcome_Tick(object sender, EventArgs e) { pgbr_welcome.Minimum = 0; pgbr_welcome.Maximum = 450; pgbr_welcome.PerformStep(); if (pgbr_welcome.Value == pgbr_welcome.Maximum) { t_welcome.Stop(); Login_Screen lgn = new Login_Screen(); this.Visible = false; lgn.Show(); } }