Example #1
0
 private void timer2_Tick(object sender, EventArgs e)
 {
     if (popup == null)
     {
         popup             = new FormRec();
         popup.FormClosed += Popup_FormClosed;
         popup.Show();
     }
 }
Example #2
0
 private void Popup_FormClosed(object sender, FormClosedEventArgs e)
 {
     popup = null;
 }