private void logoutToolStripMenuItem_Click(object sender, EventArgs e) { frm_Login fl = new frm_Login(); fl.Show(); this.Hide(); }
private void timer1_Tick(object sender, EventArgs e) { if (progressBar1.Value != 100) { progressBar1.Value++; } else { flg.Show(); timer1.Stop(); this.Hide(); } }