Beispiel #1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     if (sm!=null)
     {
         if (!sm.Visible)
         {
             this.Show();
         }
     }
     else
     {
         sm = new FrmAdmin();
         sm.Hide();
         this.Show();
     }
 }