private void timer1_Tick(object sender, EventArgs e) { if (i == 1) { Form f = new frmLockScreen(this); f.Show(); i = 0; timer1.Enabled = false; } i++; }
private void đăngXuấtToolStripMenuItem_Click(object sender, EventArgs e) { Form f = new frmLockScreen(this, Load); f.Show(); }