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

            f.Show();
        }